desktop/strace/PKGBUILD

34 lines
890 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
2011-03-16 20:44:09 +08:00
pkgver=4.6
pkgrel=1
2010-11-19 02:58:58 +08:00
pkgdesc="A useful diagnositic, instructional, and debugging tool"
arch=('i686' 'x86_64')
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)
md5sums=('e537b2b1afeec70c0e6e27a0d0fd671e')
#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
}