diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2023-12-31 01:52:43 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2023-12-31 01:58:38 -0500 |
commit | a0fff3f88a17d7e34b62ba8009aa7e8da9fa5a01 (patch) | |
tree | d260a3158d0b5dc3980295fb41ee2149b00247a1 | |
parent | 9050174f1d57cb3f4c602fceb1faf14c31a7ae75 (diff) |
[memlockd]: minimize diff against AUR
-rw-r--r-- | pcr/memlockd/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pcr/memlockd/PKGBUILD b/pcr/memlockd/PKGBUILD index c2948009a..f0324e756 100644 --- a/pcr/memlockd/PKGBUILD +++ b/pcr/memlockd/PKGBUILD @@ -1,3 +1,4 @@ +# Maintainer (aur): Giancarlo Razzolini <grazzolini@gmail.com> # Contributor: fauno <fauno@parabola.nu> # Maintainer: Parabola Hackers <dev@lists.parabola.nu> # Contributor: Wael Karram <wael@waelk.tech> @@ -6,22 +7,24 @@ pkgname=memlockd pkgver=1.3 pkgrel=1 pkgdesc="daemon that locks files into memory" -arch=('armv7h' 'i686' 'x86_64') -url="http://doc.coker.com.au/projects/memlockd/" +arch=('i686' 'x86_64') +arch=('armv7h') +url="https://doc.coker.com.au/projects/memlockd/" license=('GPL3') depends=('glibc') -source=(http://www.coker.com.au/memlockd/memlockd_${pkgver}.tar.gz) -sha256sums=('048f7762b382f44d62242ef6d11f6adfcdf78181b08f8e1f9177bf774054cfa4') -install=${pkgname}.install backup=(etc/memlockd.cfg) +install=memlockd.install +source=($pkgname-$pkgver.tar.gz::https://www.coker.com.au/$pkgname/$pkgname\_$pkgver.tar.gz +) +sha256sums=('048f7762b382f44d62242ef6d11f6adfcdf78181b08f8e1f9177bf774054cfa4') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname-$pkgver" install -d -m 750 "${pkgdir}/usr/lib/memlockd" "${pkgdir}/etc/memlockd.d" install -D -m 644 memlockd.8 "${pkgdir}/usr/share/man/man8/memlockd.8" install -D -m 755 memlockd "${pkgdir}/usr/bin/memlockd" |