aboutsummaryrefslogtreecommitdiffstats
path: root/pony.computer/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-25 22:40:07 +0200
committerMattias Andrée <maandree@kth.se>2024-09-25 22:40:07 +0200
commit29fa855cdb2b02cb989fdd942382f2c404efbc29 (patch)
treefef3cc6d0ae050c12a08051b7f630ce0a8b2aad2 /pony.computer/PKGBUILD
parentUpdate e-mail address (diff)
downloadaur-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 'pony.computer/PKGBUILD')
-rw-r--r--pony.computer/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/pony.computer/PKGBUILD b/pony.computer/PKGBUILD
new file mode 100644
index 0000000..a8cf9c8
--- /dev/null
+++ b/pony.computer/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>
+
+pkgname=pony.computer
+pkgver=1428445028
+pkgrel=1
+pkgdesc="Show computer information and a pony"
+url="https://github.com/GNU-Pony/pony.computer"
+arch=(any)
+license=(GPL3)
+depends=(sh ponysay coreutils python3)
+optdepends=("linux: Additional system information can be provided with Linux kernel's procfs /proc"
+ "filesystem: Identification of distribution"
+ "lsb-release: Identification of distribution")
+makedepends=(make coreutils sed texinfo)
+install=pony.computer.install
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(997f8be119e36cbbdcafee2126ceccfac3e6551d839b78a93aba748f33d4469d)
+
+_prefix=/usr
+
+
+build() {
+ cd "${srcdir}/pony.computer-${pkgver}"
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" DISTRO="Arch Linux"
+}
+
+package() {
+ cd "${srcdir}/pony.computer-${pkgver}"
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install
+ _dir="${pkgdir}${_prefix}/share/licenses/${pkgname}"
+ mkdir -p -- "${_dir}"
+ ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
+}
+