36 lines
977 B
Bash
36 lines
977 B
Bash
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
# then please put 'unknown'.
|
|
|
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
|
pkgname=attr
|
|
pkgver=2.5.2
|
|
pkgrel=1
|
|
pkgdesc="Extended attribute support library for ACL support"
|
|
arch=('x86_64')
|
|
url="https://savannah.nongnu.org/projects/attr"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
makedepends=('gettext')
|
|
backup=(etc/xattr.conf)
|
|
source=(https://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
sha256sums=(39bf67452fa41d0948c2197601053f48b3d78a029389734332a6309a680c6c87)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
${CONFIGURE} \
|
|
--disable-static \
|
|
--sysconfdir=/etc \
|
|
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|