desktop/strace/PKGBUILD

29 lines
714 B
Bash
Raw Normal View History

2010-11-19 02:58:58 +08:00
#
2014-12-11 06:09:20 +08:00
# Chakra Packages for Chakra, part of chakra-project.org
2010-11-19 02:58:58 +08:00
#
2014-12-11 06:09:20 +08:00
# maintainer (x86_64): Giuseppe Cal <jiveaxe@gmail.com>
2010-11-19 02:58:58 +08:00
pkgname=strace
2014-12-11 06:09:20 +08:00
pkgver=4.9
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)
2014-12-11 06:09:20 +08:00
md5sums=('885eafadb10f6c60464a266d3929a2a4')
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
}