2020-12-27 19:56:27 +00:00
|
|
|
pkgver=0.3.1
|
|
|
|
pkgname=netbsd-curses
|
|
|
|
bad=""
|
|
|
|
ext="doc:dev"
|
|
|
|
|
|
|
|
fetch() {
|
|
|
|
curl -L https://github.com/sabotage-linux/netbsd-curses/archive/v$pkgver.tar.gz -o $pkgname-$pkgver.tar.gz
|
|
|
|
tar -xf $pkgname-$pkgver.tar.gz
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2020-12-28 13:54:13 +00:00
|
|
|
ckati
|
2020-12-27 19:56:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-01-12 11:06:46 +00:00
|
|
|
ckati install DESTDIR=$pkgdir PREFIX=/usr
|
|
|
|
rm -r $pkgdir/usr/share
|
|
|
|
rm $pkgdir/usr/lib/*.a
|
|
|
|
rm -r $pkgdir/usr/include
|
|
|
|
rm -r $pkgdir/usr/lib/pkgconfig
|
2020-12-27 19:56:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_doc() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-01-12 11:06:46 +00:00
|
|
|
ckati install DESTDIR=$pkgdir PREFIX=/usr
|
|
|
|
rm -r $pkgdir/usr/bin
|
|
|
|
rm -r $pkgdir/usr/lib
|
|
|
|
rm -r $pkgdir/usr/include
|
2020-12-27 19:56:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_dev() {
|
|
|
|
cd $pkgname-$pkgver
|
2021-01-12 11:06:46 +00:00
|
|
|
ckati install DESTDIR=$pkgdir PREFIX=/usr
|
|
|
|
rm $pkgdir/usr/lib/*.so
|
|
|
|
rm -r $pkgdir/usr/include
|
|
|
|
rm -r $pkgdir/usr/share
|
|
|
|
rm -r $pkgdir/usr/bin
|
2020-12-27 19:56:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat COPYING
|
|
|
|
}
|