desktop/strace/PKGBUILD

31 lines
798 B
Bash
Raw Normal View History

2010-11-19 02:58:58 +08:00
#
2013-03-10 06:43:25 +08:00
# Apps Packages for Chakra, part of chakra-project.org
2010-11-19 02:58:58 +08:00
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=strace
2013-03-10 06:43:25 +08:00
pkgver=4.7
2011-03-16 20:44:09 +08:00
pkgrel=1
2010-11-19 02:58:58 +08:00
pkgdesc="A useful diagnositic, instructional, and debugging tool"
2013-03-10 06:43:25 +08:00
arch=('x86_64')
2010-11-19 02:58:58 +08:00
url="http://sourceforge.net/projects/strace/"
license=('custom')
depends=('perl')
categories=('programming')
2011-03-16 20:44:09 +08:00
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
2013-03-10 06:43:25 +08:00
md5sums=('6054c3880a00c6703f83b57f15e04642')
#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
}