iglunix/extra/heirloom-doctools/build.sh

38 lines
620 B
Bash
Raw Permalink Normal View History

2021-01-17 19:15:45 +00:00
pkgver=master
pkgname=heirloom-doctools
pkgrel=1
2021-01-31 11:09:14 +00:00
deps="musl"
2021-01-17 19:15:45 +00:00
bad="gmake"
ext="doc"
fetch() {
curl -L "https://github.com/n-t-roff/heirloom-doctools/archive/master.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
cd $pkgname-$pkgver
cp ../../mk.config .
}
build() {
cd $pkgname-$pkgver
2021-01-27 11:28:31 +00:00
./configure
bad --gmake gmake
2021-01-17 19:15:45 +00:00
}
package() {
cd $pkgname-$pkgver
bad --gmake gmake install ROOT=$pkgdir
2021-01-17 19:15:45 +00:00
rm -r $pkgdir/usr/share
}
package_doc() {
cd $pkgname-$pkgver
bad --gmake gmake install ROOT=$pkgdir
2021-01-17 19:15:45 +00:00
rm -r $pkgdir/usr/lib
rm -r $pkgdir/usr/bin
}
license() {
cd $pkgname-$pkgver
cat LICENSE
}