aboutsummaryrefslogtreecommitdiffstats
path: root/got-diminished/PKGBUILD
blob: 13d2444879a5b7fe3deb6dafecbc992bdb001f89 (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 <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

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"
}