aboutsummaryrefslogtreecommitdiffstats
path: root/editasroot/PKGBUILD
blob: 22c2eb303e04d1f4b5c54848c26e2bec30aab1c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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"
license=('custom:ISC')
depends=(asroot)
source=(editasroot-$pkgver.tar.gz::https://github.com/maandree/editasroot/archive/${pkgver}.tar.gz)
sha256sums=(08cadfc7eafe81bea2bde97b78d5e026990a80edbf06d1e7dec595ebe14353f3)

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
}