iglunix/extra/zip/build.sh
Ella Stanforth 517ce35a46 add zip
2021-12-31 15:28:03 +00:00

29 lines
421 B
Bash

pkgname=zip
pkgver=30
fetch() {
curl "https://fossies.org/linux/misc/zip$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mv zip$pkgver $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
make -f unix/Makefile generic
}
package() {
cd $pkgname-$pkgver
make -f unix/Makefile install prefix=$pkgdir/usr
}
backup() {
return
}
license() {
cd $pkgname-$pkgver
cat LICENSE
# cat COPYING
}