aboutsummaryrefslogtreecommitdiffstats
path: root/asroot
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-20 14:10:28 +0200
committerMattias Andrée <maandree@kth.se>2022-07-20 14:10:28 +0200
commit44a1b42ea7477e74a6f667cbeb10062675e1cefb (patch)
treed070aff9e568f3c8d6a3b8685a8d5717b107ebc9 /asroot
parentUpdate packages (diff)
downloadaur-packages-44a1b42ea7477e74a6f667cbeb10062675e1cefb.tar.gz
aur-packages-44a1b42ea7477e74a6f667cbeb10062675e1cefb.tar.bz2
aur-packages-44a1b42ea7477e74a6f667cbeb10062675e1cefb.tar.xz
Update packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--asroot-libpassphrase/PKGBUILD12
-rw-r--r--asroot/PKGBUILD10
2 files changed, 11 insertions, 11 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
}
diff --git a/asroot/PKGBUILD b/asroot/PKGBUILD
index f1efac0..842c1bd 100644
--- a/asroot/PKGBUILD
+++ b/asroot/PKGBUILD
@@ -4,18 +4,18 @@ pkgver=1.1.6
pkgrel=1
pkgdesc="A simpler alternative to sudo and doas"
arch=('x86_64')
-url="https://github.com/maandree/asroot"
+url="https://codeberg.org/maandree/asroot"
license=('custom:ISC')
-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)
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
}