aboutsummaryrefslogtreecommitdiff
# Maintainer: EuAndreh <eu@euandre.org>
pkgname='git-permalink'
pkgver='v0.2.0'
pkgrel='0'
pkgdesc='Git extension to generate web permalinks of files in a repository'
url='https://euandre.org/s/git-permalink/'
arch='noarch'
license='AGPL-3.0-or-later'
depends=''
makedepends=''
checkdepends=''
install=''
subpackages='git-permalink-doc'
source='https://euandre.org/git/git-permalink/snapshot/git-permalink-v0.2.0.tar.xz'
pkgbasedir="$startdir/.abuild/pkg"
srcdir="$startdir/.abuild/src"
builddir="$srcdir/git-permalink-v0.2.0"

build() {
	make PREFIX=/usr
}

check() {
	make check
}

package() {
	make install DESTDIR="$pkgdir" PREFIX=/usr
}

cleanup_srcdir() {
	rm -rf "$startdir/.abuild"
}

sha512sums='
c75da25709b6b074812d34dfa5371a6dd53d31f1ce2828c594cf3c62bdd90b421d14f5733782fcaed178db830236eeb87a8ae2fb90e773270222ae64750625d0  git-permalink-v0.2.0.tar.xz
'