aboutsummaryrefslogtreecommitdiffstats
path: root/got-diminished/PKGBUILD
blob: 0adc17163b2e6c781616cf339af62920cd6505f8 (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
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

pkgname=got-diminished
pkgver=1396890724
pkgrel=1
pkgdesc="Extension for gates-of-tartaros to minimise memory usage after logging in"
url="https://github.com/GNU-Pony/got-diminished"
arch=(i686 x86_64 armv6h)
license=(GPL3)
depends=(glibc coreutils util-linux gates-of-tartaros)
optdepends=(openssh)
makedepends=(make sed coreutils gcc)
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=(5d143931d9ec8cd2dbf9347aabb269ba2180ef4a961547ac31467091ec537be4)


build() {
	cd "${srcdir}/got-diminished-${pkgver}"
	make PKGNAME="${pkgname}" LIBEXEC=/bin
}

package() {
	cd "${srcdir}/got-diminished-${pkgver}"
	make PKGNAME="${pkgname}" LIBEXEC=/bin DESTDIR="${pkgdir}" LICENSES=/usr/share/licenses install
	_dir="${pkgdir}/usr/share/licenses/${pkgname}"
	ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE"
}