aboutsummaryrefslogtreecommitdiffstats
path: root/splashtool/PKGBUILD
blob: 83a2a8ff7180d21f12124694754e997d90df12e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
}