diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-25 22:40:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-25 22:40:07 +0200 |
commit | 29fa855cdb2b02cb989fdd942382f2c404efbc29 (patch) | |
tree | fef3cc6d0ae050c12a08051b7f630ce0a8b2aad2 /ponyguests/PKGBUILD | |
parent | Update e-mail address (diff) | |
download | aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.gz aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.bz2 aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.xz |
add packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'ponyguests/PKGBUILD')
-rw-r--r-- | ponyguests/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ponyguests/PKGBUILD b/ponyguests/PKGBUILD new file mode 100644 index 0000000..4d36a93 --- /dev/null +++ b/ponyguests/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com> + +pkgname=ponyguests +pkgver=1428445099 +pkgrel=1 +pkgdesc="Login wrapper to enable guest accounts" +url="https://github.com/GNU-Pony/ponyguests" +arch=(i686 x86_64) +license=(GPL3) +depends=(sh coreutils grep sed bc shadow 'linux>=3.4' glibc) +makedepends=(make coreutils 'linux-api-headers>=3.4' glibc gcc sed texinfo) +install=ponyguests.install +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=(95105124ca7e4839f62e61352cddf416fe6aad761dc9558bef775787d7d863ce) + +build() { + cd "${srcdir}/ponyguests-${pkgver}" + + make PKGNAME="${pkgname}" +} + +package() { + cd "${srcdir}/ponyguests-${pkgver}" + + make PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install + + _dir="${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" +} + |