aboutsummaryrefslogblamecommitdiffstats
path: root/editasroot/PKGBUILD
blob: a3ad5f4e1bab848fbe4b56b1dc31e2ad59fed463 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                             
 
                  
            


                                               
                                              

                      

                                                                             

          
                                 



                                                                            
                                 

                                                                                    
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

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
}