blob: 3c8f4e88fa1a7c721c9ef4be2e300ed75b5f3005 (
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
|
# Maintainer: James Clarke <james@jamesdavidclarke.com>
pkgname=appanvil-git
pkgver=r619.2df0101
pkgrel=1
pkgdesc="A graphical user interface for the AppArmor security module"
arch=('x86_64')
url="https://github.com/jack-ullery/AppAnvil"
license=('GPL')
depends=('gtkmm3' 'jsoncpp' 'apparmor' 'libappanvil-git')
makedepends=('git' 'cmake')
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/AppAnvil"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/AppAnvil"
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
}
package() {
cd "$srcdir/AppAnvil/build"
make DESTDIR="$pkgdir/" install
install -Dm644 "$startdir/appanvil.desktop" "$pkgdir/usr/share/applications/appanvil.desktop"
}
|