From 44a1b42ea7477e74a6f667cbeb10062675e1cefb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 20 Jul 2022 14:10:28 +0200 Subject: Update packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- asroot-libpassphrase/PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'asroot-libpassphrase') 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 } -- cgit v1.2.3-70-g09d2