aboutsummaryrefslogtreecommitdiff
# Maintainer: EuAndreh <eu@euandre.org>
pkgname='git-permalink'
pkgver='v0.1.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.1.0.tar.xz'
pkgbasedir="$startdir/.abuild/pkg"
srcdir="$startdir/.abuild/src"
builddir="$srcdir/git-permalink-v0.1.0"

build() {
	make PREFIX=/usr
}

check() {
	make check
}

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

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

sha512sums='
4d508704333c7c19432a5e021e561e5fe96175631230b09a672cfca984c55ee83dc55e82f4c29e7666db55997ddff59e54fc1d3c4cd72f78dc688fd1dd68a091  git-permalink-v0.1.0.tar.xz
'