aboutsummaryrefslogtreecommitdiffstats
path: root/editasroot/PKGBUILD
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 /editasroot/PKGBUILD
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--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
}