36 lines
559 B
Bash
36 lines
559 B
Bash
|
pkgver=master
|
||
|
pkgname=heirloom-doctools
|
||
|
pkgrel=1
|
||
|
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
|
||
|
gmake
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-$pkgver
|
||
|
gmake install ROOT=$pkgdir
|
||
|
rm -r $pkgdir/usr/share
|
||
|
}
|
||
|
|
||
|
package_doc() {
|
||
|
cd $pkgname-$pkgver
|
||
|
gmake install ROOT=$pkgdir
|
||
|
rm -r $pkgdir/usr/lib
|
||
|
rm -r $pkgdir/usr/bin
|
||
|
}
|
||
|
|
||
|
license() {
|
||
|
cd $pkgname-$pkgver
|
||
|
cat LICENSE
|
||
|
}
|