mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-27 07:27:24 +01:00
build: PKGBUILD for dev purpose only.
This commit is contained in:
parent
28bb9b546f
commit
75c6a32ee1
1 changed files with 5 additions and 1 deletions
6
PKGBUILD
6
PKGBUILD
|
@ -1,6 +1,9 @@
|
||||||
# Maintainer: Alexandre Pujol <alexandre@pujol.io>
|
# Maintainer: Alexandre Pujol <alexandre@pujol.io>
|
||||||
# shellcheck disable=SC2034,SC2154,SC2164
|
# shellcheck disable=SC2034,SC2154,SC2164
|
||||||
|
|
||||||
|
# Warning: for development only, use https://aur.archlinux.org/packages/apparmor.d-git
|
||||||
|
# for production use.
|
||||||
|
|
||||||
pkgname=apparmor.d
|
pkgname=apparmor.d
|
||||||
pkgver=0.001
|
pkgver=0.001
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
|
@ -10,6 +13,7 @@ url="https://github.com/roddhjav/$pkgname"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('apparmor')
|
depends=('apparmor')
|
||||||
makedepends=('go' 'git' 'rsync' 'lsb-release')
|
makedepends=('go' 'git' 'rsync' 'lsb-release')
|
||||||
|
conflicts=("$pkgname-git")
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
|
@ -17,7 +21,7 @@ pkgver() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
git clone "$startdir" "$srcdir/$pkgname"
|
rsync -a --delete "$startdir" "$srcdir"
|
||||||
cd "$srcdir/$pkgname"
|
cd "$srcdir/$pkgname"
|
||||||
|
|
||||||
./configure --complain
|
./configure --complain
|
||||||
|
|
Loading…
Reference in a new issue