aboutsummaryrefslogtreecommitdiffstats
path: root/asroot-libpassphrase
diff options
context:
space:
mode:
Diffstat (limited to 'asroot-libpassphrase')
-rw-r--r--asroot-libpassphrase/PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/asroot-libpassphrase/PKGBUILD b/asroot-libpassphrase/PKGBUILD
index 21e2482..66f9f95 100644
--- a/asroot-libpassphrase/PKGBUILD
+++ b/asroot-libpassphrase/PKGBUILD
@@ -4,28 +4,28 @@ pkgver=1.1.6
pkgrel=1
pkgdesc="A simpler alternative to sudo and doas, libpassphrase version"
arch=('x86_64')
-url="https://github.com/maandree/asroot"
+url="https://codeberg.org/maandree/asroot"
license=('custom:ISC')
depends=(libpassphrase)
makedepends=(sed)
conflicts=(asroot)
provides=(asroot)
-source=(asroot-$pkgver.tar.gz::https://github.com/maandree/asroot/archive/${pkgver}.tar.gz)
-sha256sums=(e7a402f424b57a12d937138eae20e7dc9e3cbb46ece551037ab65d45aad7c4fd)
+source=(asroot-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz)
+sha256sums=(80fdb7abb4cd470fb8f8c6ac1b45a218afed8061c5f560d8907896ca5a833f61)
prepare() {
- cd "${srcdir}/asroot-${pkgver}"
+ cd "${srcdir}/asroot"
sed '/CPPFLAGS/s/$/ -DWITH_LIBPASSPHRASE/' < config.mk > config.mk.tmp
sed '/LDFLAGS/s/$/ -lpassphrase/' < config.mk.tmp > config.mk
}
build() {
- cd "${srcdir}/asroot-${pkgver}"
+ cd "${srcdir}/asroot"
make DESTDIR="${pkgdir}/" PREFIX=/usr
}
package() {
- cd "${srcdir}/asroot-${pkgver}"
+ cd "${srcdir}/asroot"
make DESTDIR="${pkgdir}/" PREFIX=/usr install
make DESTDIR="${pkgdir}/" PREFIX=/usr post-install
}