aboutsummaryrefslogtreecommitdiffstats
path: root/editasroot/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'editasroot/PKGBUILD')
-rw-r--r--editasroot/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/editasroot/PKGBUILD b/editasroot/PKGBUILD
index 22c2eb3..433fced 100644
--- a/editasroot/PKGBUILD
+++ b/editasroot/PKGBUILD
@@ -1,21 +1,22 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
pkgname=editasroot
pkgver=1.0.1
pkgrel=1
pkgdesc="Edit a file that requires root access"
arch=('x86_64')
-url="https://github.com/maandree/editasroot"
+url="https://codeberg.org/maandree/editasroot"
license=('custom:ISC')
depends=(asroot)
-source=(editasroot-$pkgver.tar.gz::https://github.com/maandree/editasroot/archive/${pkgver}.tar.gz)
-sha256sums=(08cadfc7eafe81bea2bde97b78d5e026990a80edbf06d1e7dec595ebe14353f3)
+source=(editasroot-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz)
+sha256sums=(5743a5f6796ce47d79a949aa3ef231da9ad71e47a4c1e5220cdd7ebb09547604)
build () {
- cd "${srcdir}/editasroot-${pkgver}"
+ cd "${srcdir}/editasroot"
make DESTDIR="${pkgdir}/" PREFIX=/usr LIBEXECDIR=/usr/lib/editasroot
}
package() {
- cd "${srcdir}/editasroot-${pkgver}"
+ cd "${srcdir}/editasroot"
make DESTDIR="${pkgdir}/" PREFIX=/usr LIBEXECDIR=/usr/lib/editasroot install
}