aboutsummaryrefslogtreecommitdiffstats
path: root/splashtool/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 /splashtool/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 'splashtool/PKGBUILD')
-rw-r--r--splashtool/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/splashtool/PKGBUILD b/splashtool/PKGBUILD
new file mode 100644
index 0000000..83a2a8f
--- /dev/null
+++ b/splashtool/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>
+
+pkgname=splashtool
+pkgver=1428445153
+pkgrel=1
+pkgdesc="A simple tool for creating SYSLINUX splashes without fuss"
+url="https://github.com/GNU-Pony/splashtool"
+arch=(any)
+license=(AGPL3)
+depends=(gzip nafe kbd imagemagick bash awk grep sed coreutils glibc)
+makedepends=(make coreutils sed glibc gcc texinfo)
+install=splashtool.install
+source=("${url}/archive/${pkgver}.tar.gz")
+sha256sums=(a25957c5f20166f7590f9795e0736faf955bf5f583b3d7b299031259c68a36a9)
+
+_prefix=/usr
+
+
+build() {
+ cd "${srcdir}/splashtool-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/splashtool-${pkgver}"
+ make PREFIX="${_prefix}" PKGNAME="${pkgname}" DESTDIR="${pkgdir}" install
+ _dir="${pkgdir}${_prefix}/share/licenses/${pkgname}"
+ ln -sf -- "/usr/share/licenses/common/AGPL3" "${_dir}/LICENSE"
+}
+