PKGBUILD 1.2 KB
Newer Older
Manuel Tortosa's avatar
Manuel Tortosa committed
1 2 3 4 5 6 7 8 9
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>

# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf

Jan Mette's avatar
Jan Mette committed
10
pkgname=attr
11
pkgver=2.4.46
12
pkgrel=2
Jan Mette's avatar
Jan Mette committed
13 14 15 16 17 18 19 20 21 22 23
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')
replaces=('xfsattr')
provides=('xfsattr')
conflicts=('xfsattr')
options=('!libtool')
24 25
source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.src.tar.gz)
sha256sums=('dcd69bdca7ff166bc45141eddbcf21967999a6b66b0544be12a1cc2fd6340e1f')
Jan Mette's avatar
Jan Mette committed
26 27

build() {
28 29 30 31 32 33
  cd "${srcdir}"/${pkgname}-${pkgver}
  
  export INSTALL_USER=root INSTALL_GROUP=root
  ./configure --prefix=/usr --libdir=/lib --libexecdir=/usr/lib
  make
}
Jan Mette's avatar
Jan Mette committed
34

35 36
package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
Jan Mette's avatar
Jan Mette committed
37

38
  make DIST_ROOT="${pkgdir}" install install-lib install-dev
Jan Mette's avatar
Jan Mette committed
39

40 41 42 43 44
  # tidy up
  rm -f "${pkgdir}"/lib/libattr.a
  chmod 0755 "${pkgdir}"/lib/libattr.so.*.*.*
  # remove conflicting manpages
  rm -rf "${pkgdir}"/usr/share/man/man2
Jan Mette's avatar
Jan Mette committed
45
}