From 08a26600584190fd3e740f51ccfcbb2263a48780 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 29 Mar 2023 07:43:28 -0300 Subject: Use abuild(1) to build ".apk" packages --- src/alpine/git-permalink-0-1-0/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/alpine/git-permalink-0-1-0/APKBUILD (limited to 'src/alpine/git-permalink-0-1-0') diff --git a/src/alpine/git-permalink-0-1-0/APKBUILD b/src/alpine/git-permalink-0-1-0/APKBUILD new file mode 100644 index 0000000..a6a2191 --- /dev/null +++ b/src/alpine/git-permalink-0-1-0/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: EuAndreh +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' +builddir="$srcdir/git-permalink-v0.1.0" + +build() { + make PREFIX=/usr +} + +check() { + make check +} + +package() { + make install DESTDIR="$pkgdir" PREFIX=/usr +} + +sha512sums=' +4d508704333c7c19432a5e021e561e5fe96175631230b09a672cfca984c55ee83dc55e82f4c29e7666db55997ddff59e54fc1d3c4cd72f78dc688fd1dd68a091 git-permalink-v0.1.0.tar.xz +' -- cgit v1.2.3