blob: 4a9f936da2fabe5e7e2185254b117bea5252a3ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: M.Reynolds <blackboxnetworkproject@gmail.com>
# Contributor: Bruno Nova <brunomb.nova@gmail.com>
pkgname=nautilus-admin
pkgver=0.2.4
pkgrel=1
pkgdesc="Extension for Nautilus to do administrative operations"
arch=('any')
url="https://github.com/brunonova/$pkgname"
license=('GPL3')
depends=('nautilus' 'python-nautilus' 'polkit')
makedepends=('cmake>=2.6' 'gettext')
optdepends=('gedit: to use the "Edit as Administrator" action'
'gnome-terminal: to use the "Run as Administrator" action')
install="$pkgname.install"
source=("https://github.com/brunonova/$pkgname/releases/download/v$pkgver/${pkgname}_$pkgver.tar.xz")
sha256sums=('52976124dbcb84873c5c7835bc3f28b8dbe86d95cdc2b8accdca62645179bb8c')
build() {
cd "$srcdir"
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir"
make DESTDIR="$pkgdir" install
install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 "NEWS" "$pkgdir/usr/share/doc/$pkgname/NEWS"
install -Dm644 "AUTHORS" "$pkgdir/usr/share/doc/$pkgname/AUTHORS"
}
|