mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
39 lines
991 B
Bash
39 lines
991 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=attr
|
|
pkgver=2.4.46
|
|
pkgrel=3
|
|
pkgdesc="Extended attribute support library for ACL support"
|
|
arch=(i686 x86_64)
|
|
url="http://oss.sgi.com/projects/xfs/"
|
|
license=('LGPL')
|
|
groups=('base')
|
|
depends=('glibc')
|
|
makedepends=('gettext')
|
|
options=('!libtool')
|
|
source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz)
|
|
sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f')
|
|
|
|
build() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
export INSTALL_USER=root INSTALL_GROUP=root
|
|
./configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
make DIST_ROOT="${pkgdir}" install install-lib install-dev
|
|
|
|
# tidy up
|
|
rm -f "${pkgdir}"/usr/lib/libattr.a
|
|
chmod 0755 "${pkgdir}"/usr/lib/libattr.so.*.*.*
|
|
# remove conflicting manpages
|
|
rm -rf "${pkgdir}"/usr/share/man/man2
|
|
}
|