iglunix/base/fakeroot/build.sh

31 lines
494 B
Bash
Raw Normal View History

2021-12-26 12:40:14 +00:00
pkgname=fakeroot
pkgver=1.26
2021-09-11 08:24:20 +00:00
fetch() {
2021-12-26 12:40:14 +00:00
curl "https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_$pkgver.orig.tar.gz" -o $pkgname-$pkgver.tar.xz
2021-09-11 08:24:20 +00:00
tar -xf $pkgname-$pkgver.tar.xz
2021-12-26 12:40:14 +00:00
patch -p1 < ../../no64.patch
patch -p1 < ../../stdint.patch
2021-09-11 08:24:20 +00:00
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=$TRIPLE \
--host=$TRIPLE
2021-12-26 12:40:14 +00:00
gmake
2021-09-11 08:24:20 +00:00
}
package() {
cd $pkgname-$pkgver
2021-12-26 12:40:14 +00:00
gmake install DESTDIR=$pkgdir
2021-09-11 08:24:20 +00:00
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}