aboutsummaryrefslogtreecommitdiffstats
path: root/gates-of-tartaros/PKGBUILD
blob: c751b8557fedff978961917eb6b054747fee2444 (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
31
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

# If want to minimise the memory usage exchange bash for dash

pkgname=gates-of-tartaros
pkgver=1503081567
pkgrel=1
pkgdesc="Extensible minimal replacement for agetty with SSH support"
url="https://github.com/GNU-Pony/gates-of-tartaros"
arch=(any)
license=(GPL3)
depends=(util-linux bash coreutils)
optdepends=(openssh)
makedepends=(make sed coreutils texinfo)
install=gates-of-tartaros.install
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=(01f73bbc02bf464c877b62e86fd04f766f3edd99ca20ab98dcd487fa0389bbe6)


build() {
	cd "${srcdir}/gates-of-tartaros-${pkgver}"
	make PKGNAME="${pkgname}" SBIN=/bin PREFIX=/usr SH=bash
}

package() {
	cd "${srcdir}/gates-of-tartaros-${pkgver}"
	make PKGNAME="${pkgname}" SBIN=/bin PREFIX=/usr DESTDIR="${pkgdir}" install
	_dir="${pkgdir}/usr/share/licenses/${pkgname}"
	ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
}