diff options
author | Mattias Andrée <maandree@kth.se> | 2021-08-30 19:40:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-08-30 19:40:38 +0200 |
commit | 538a22b2738dafd3394a363a420b88b60928f504 (patch) | |
tree | fe1b93cee4648b5e6cfe6efb49569623709d2df0 /editasroot | |
parent | Update gpp (diff) | |
download | aur-packages-538a22b2738dafd3394a363a420b88b60928f504.tar.gz aur-packages-538a22b2738dafd3394a363a420b88b60928f504.tar.bz2 aur-packages-538a22b2738dafd3394a363a420b88b60928f504.tar.xz |
Add editasroot
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'editasroot')
-rw-r--r-- | editasroot/PKGBUILD | 21 | ||||
l--------- | editasroot/upload | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/editasroot/PKGBUILD b/editasroot/PKGBUILD new file mode 100644 index 0000000..891739d --- /dev/null +++ b/editasroot/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> +pkgname=editasroot +pkgver=1.0 +pkgrel=1 +pkgdesc="Edit a file that requires root access" +arch=('x86_64') +url="https://github.com/maandree/editasroot" +license=('custom:ISC') +depends=(asroot) +source=(editasroot-$pkgver.tar.gz::https://github.com/maandree/editasroot/archive/${pkgver}.tar.gz) +sha256sums=(6d1a2c1ab44dd0c545c64b61ddea3224023132c3dcf1f3e11c61e297b9bab86c) + +build () { + cd "${srcdir}/editasroot-${pkgver}" + make DESTDIR="${pkgdir}/" PREFIX=/usr LIBEXECDIR=/usr/lib/editasroot +} + +package() { + cd "${srcdir}/editasroot-${pkgver}" + make DESTDIR="${pkgdir}/" PREFIX=/usr LIBEXECDIR=/usr/lib/editasroot install +} diff --git a/editasroot/upload b/editasroot/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/editasroot/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |