jobcore/acl/PKGBUILD

52 lines
1.6 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=acl
pkgver=2.3.1
pkgrel=03
pkgdesc='Access control list utilities, libraries and headers'
arch=('x86_64')
url='https://savannah.nongnu.org/projects/acl'
#depends=('attr' 'libattr.so')
makedepends=('attr')
replaces=('xfsacl')
provides=('xfsacl' 'libacl.so')
# options=('debug')
conflicts=('xfsacl')
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
build() {
cd $pkgname-$pkgver
./configure \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--prefix=/usr
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}
#---- license gpg-key sha256sums ----
license=('LGPL')
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
sha256sums=(760c61c68901b37fdd5eefeeaf4c0c7a26bdfdd8ac747a1edff1ce0e243c11af # acl-2.3.1.tar.gz
ecf0fa46c83d1794eaddba7b5e284bca3f8928b55da24b03142277439239913c) # acl-2.3.1.tar.gz.sig
## e73a54762e62ece17b64388b6e58e2bf327179d9f23821a6f10d729ca1dda8f8 acl-2.3.1-03-x86_64.pkg.tar.lz