aboutsummaryrefslogtreecommitdiffstats
path: root/editasroot/PKGBUILD
blob: b1ba76fd00110fedac62bfb420a3645631457c95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

pkgname=editasroot
pkgver=1.0.1
pkgrel=1
pkgdesc="Edit a file that requires root access"
arch=('x86_64')
url="https://codeberg.org/maandree/editasroot"
license=('custom:ISC')
depends=(asroot)
source=(editasroot-$pkgver.tar.gz::${url}/archive/${pkgver}.tar.gz)
sha256sums=(5743a5f6796ce47d79a949aa3ef231da9ad71e47a4c1e5220cdd7ebb09547604)

build () {
	cd "${srcdir}/editasroot"
	make DESTDIR="${pkgdir}/" PREFIX=/usr LIBEXECDIR=/usr/lib/editasroot
}

package() {
	cd "${srcdir}/editasroot"
	make DESTDIR="${pkgdir}/" PREFIX=/usr LIBEXECDIR=/usr/lib/editasroot install
}