2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2023-03-26 06:31:13 +02:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:19:37 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=attr
|
|
|
|
pkgver=2.5.1
|
2023-03-26 06:31:13 +02:00
|
|
|
pkgrel=03
|
2022-03-20 13:19:37 +01:00
|
|
|
pkgdesc='Extended attribute support library for ACL support'
|
|
|
|
url='https://savannah.nongnu.org/projects/attr'
|
|
|
|
depends=('glibc')
|
|
|
|
makedepends=('gettext')
|
|
|
|
replaces=('xfsattr')
|
|
|
|
provides=('xfsattr' 'libattr.so')
|
|
|
|
#options=('debug')
|
|
|
|
conflicts=('xfsattr')
|
|
|
|
backup=('etc/xattr.conf')
|
|
|
|
source=("https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig})
|
|
|
|
|
2023-03-26 06:31:13 +02:00
|
|
|
prepare() {
|
|
|
|
# remove the nfs entries from /etc/xattr.conf
|
|
|
|
# http://lists.gnu.org/archive/html/bug-coreutils/2019-03/msg00008.html
|
|
|
|
sed -i '/nfs/d' $pkgname-$pkgver/xattr.conf
|
|
|
|
}
|
|
|
|
|
2022-03-20 13:19:37 +01:00
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
|
|
|
|
2023-03-26 06:31:13 +02:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
license=('LGPL')
|
|
|
|
|
|
|
|
validpgpkeys=('600CD204FBCEA418BD2CA74F154343260542DF34' # Brandon Philips <brandon@ifup.co>
|
|
|
|
'B902B5271325F892AC251AD441633B9FE837F581' # Frysinger <vapier@gentoo.org>
|
|
|
|
'259B3792B3D6D319212CC4DCD5BF9FEB0313653A') # Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
|
|
|
|
|
|
|
|
sha256sums=(db448a626f9313a1a970d636767316a8da32aede70518b8050fa0de7947adc32 # attr-2.5.1.tar.xz
|
|
|
|
31357441f6fe2e8e8ab9c36746b2d3885d153dc88b33930c62eefed12f800954) # attr-2.5.1.tar.xz.sig
|
2023-03-26 06:31:13 +02:00
|
|
|
|
|
|
|
## b36634d40df5c547906c19d0dd993b14ce57265c6a5ad58f7212ac18504e2d78 attr-2.5.1-03-x86_64.pkg.tar.lz
|
|
|
|
|