aboutsummaryrefslogblamecommitdiff
path: root/src/alpine/git-permalink-0-2-0/APKBUILD
blob: ac6adfaaa7cd13650d210c2c6ed64e883ca9ed2b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                   

                                  













                                                  



                                  


                                                                                                                                                             
# 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
'