move old packages to old

This commit is contained in:
Ella-0 2021-07-31 12:09:49 +00:00
parent 1ee2276f8c
commit 71b5f9a679
7 changed files with 0 additions and 0 deletions

30
old/linux-pam/build.sh Normal file
View file

@ -0,0 +1,30 @@
pkgname=linux-pam
pkgver=1.5.1
fetch() {
curl -L "https://github.com/linux-pam/linux-pam/releases/download/v1.5.1/Linux-PAM-1.5.1.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
mv Linux-PAM-$pkgver $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--build=x86_64-unknown-linux-musl \
--host=x86_64-unknown-linux-musl \
--libdir=/usr/lib \
--sbindir=/usr/sbin
make
}
package() {
cd $pkgname-$pkgver
make install DESTDIR=$pkgdir
}
license() {
cd $pkgname-$pkgver
cat COPYING
}