# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (x86_64): Giuseppe CalĂ  # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=strace pkgver=4.5.20 pkgrel=2 pkgdesc="A useful diagnositic, instructional, and debugging tool" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/strace/" license=('custom') depends=('perl') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.bz2) md5sums=('64dfe10d9db0c1e34030891695ffca4b') #needs to be build on it's own arch, no crosscompiling build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make || return 1 } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}/" install || return 1 install -Dm644 COPYRIGHT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }