69 lines
2 KiB
Bash
69 lines
2 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.2
|
|
#pkgver=2.3.2.r0.g214c7d1
|
|
pkgrel=01
|
|
pkgdesc='Access control list utilities, libraries and headers'
|
|
url='https://savannah.nongnu.org/projects/acl'
|
|
depends=('glibc' 'attr')
|
|
makedepends=('git' 'attr')
|
|
provides=("acl=$pkgver" 'xfsacl' 'libacl.so')
|
|
conflicts=('acl-git' 'xfsacl')
|
|
replaces=('xfsacl')
|
|
#source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
|
_commit=cefe1c17f20448b7a0ca53ac9cf8a46d444a8cca # tags/v2.3.2
|
|
source=("git+https://git.savannah.gnu.org/git/acl.git#commit=$_commit")
|
|
#pkgver() {
|
|
# cd "acl"
|
|
#
|
|
# git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
|
|
3}
|
|
|
|
build() {
|
|
cd $pkgname
|
|
|
|
./autogen.sh
|
|
./configure \
|
|
--libdir=/usr/lib \
|
|
--libexecdir=/usr/lib \
|
|
--prefix=/usr
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "acl"
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('LGPL')
|
|
|
|
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
|
|
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
|
|
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
# European gnu-savannah mirror has not synced to carry 2.3.2 tar.ball so we built from git
|
|
|
|
#sha256sums=(5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c # acl-2.3.2.tar.gz
|
|
# ecf0fa46c83d1794eaddba7b5e284bca3f8928b55da24b03142277439239913c) # acl-2.3.1.tar.gz.sig
|
|
|
|
## 30812c65ffd6019f6abfd529b8bc79af2d5a5db9592b1003453f1a78adb5be0e acl-2.3.2-01-x86_64.pkg.tar.lz
|