desktop/strace/PKGBUILD
2016-10-08 18:12:01 +02:00

24 lines
632 B
Bash

pkgname=strace
pkgver=4.14
pkgrel=1
pkgdesc="A useful diagnositic, instructional, and debugging tool"
arch=('x86_64')
url="http://sourceforge.net/projects/strace/"
license=('custom')
depends=('perl')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
sha256sums=('5bed5110b243dce6864bedba269446c18c8c63f553cdd7fd4f808d89a764712f')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make || return 1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install || return 1
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}