iglunix/base/kakoune/build.sh

42 lines
676 B
Bash
Raw Normal View History

2021-09-11 08:24:20 +00:00
pkgver=master
2020-12-29 15:47:35 +00:00
pkgname=kakoune
pkgrel=1
2021-01-31 11:09:14 +00:00
deps="musl:llvm"
2020-12-29 15:47:35 +00:00
bad=""
ext="doc"
fetch() {
2021-09-11 08:24:20 +00:00
curl -L "https://github.com/mawww/kakoune/archive/master.tar.gz" -o $pkgname-$pkgver.tar.xz
2020-12-29 15:47:35 +00:00
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
2022-04-21 16:16:36 +00:00
bad --gmake gmake
2020-12-29 15:47:35 +00:00
}
package() {
cd $pkgname-$pkgver
2022-04-21 16:16:36 +00:00
bad --gmake gmake install DESTDIR=$pkgdir PREFIX=/usr
rm -r $pkgdir/usr/share/doc
rm -r $pkgdir/usr/share/man
rm -r $pkgdir/usr/libexec
2020-12-29 15:47:35 +00:00
}
package_doc() {
cd $pkgname-$pkgver
ckati install DESTDIR=$pkgdir PREFIX=/usr
rm -r $pkgdir/usr/share/kak
rm -r $pkgdir/usr/libexec
rm -r $pkgdir/usr/bin
2020-12-29 15:47:35 +00:00
}
license() {
cd $pkgname-$pkgver
cat UNLICENSE
}
2022-04-21 16:19:30 +00:00
backup() {
return
}