desktop/strace/PKGBUILD

24 lines
632 B
Bash
Raw Normal View History

2010-11-19 02:58:58 +08:00
pkgname=strace
2016-10-09 00:12:01 +08:00
pkgver=4.14
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')
2011-03-16 20:44:09 +08:00
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
2016-10-09 00:12:01 +08:00
sha256sums=('5bed5110b243dce6864bedba269446c18c8c63f553cdd7fd4f808d89a764712f')
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
2014-12-11 06:09:20 +08:00
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
2010-11-19 02:58:58 +08:00
}