This commit is contained in:
aheirman 2021-02-14 21:28:50 +00:00
parent 0ada838249
commit 262d3d8d42

29
pkgs/kbd/build.sh Normal file
View file

@ -0,0 +1,29 @@
pkgname=kbd
pkgver=2.4.0
fetch() {
curl "https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=x86_64-unknown-linux-musl \
--host=x86_64-unknown-linux-musl
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat COPYING
}