aboutsummaryrefslogblamecommitdiffstats
path: root/got-diminished/PKGBUILD
blob: 0adc17163b2e6c781616cf339af62920cd6505f8 (plain) (tree)
1
                                                             


























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