mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
34 lines
890 B
Bash
34 lines
890 B
Bash
#
|
|
# 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
|
|
pkgver=4.6
|
|
pkgrel=1
|
|
pkgdesc="A useful diagnositic, instructional, and debugging tool"
|
|
arch=('i686' 'x86_64')
|
|
url="http://sourceforge.net/projects/strace/"
|
|
license=('custom')
|
|
depends=('perl')
|
|
categories=('programming')
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-$pkgver.tar.xz)
|
|
md5sums=('e537b2b1afeec70c0e6e27a0d0fd671e')
|
|
#needs to be build on it's own arch, no crosscompiling
|
|
|
|
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
|
|
}
|