desktop/strace/PKGBUILD

33 lines
867 B
Bash
Raw Normal View History

2010-11-19 02:58:58 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=strace
pkgver=4.5.20
pkgrel=1
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
2010-11-19 02:58:58 +08:00
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
}