build(arch): start using just in the PKGBUILD.
This commit is contained in:
parent
4bd415d260
commit
8d1571a93b
1 changed files with 4 additions and 4 deletions
8
PKGBUILD
8
PKGBUILD
|
|
@ -9,9 +9,9 @@ pkgrel=1
|
|||
pkgdesc="Full set of apparmor profiles"
|
||||
arch=("x86_64")
|
||||
url="https://github.com/roddhjav/$pkgname"
|
||||
license=('GPL2')
|
||||
license=('GPL-2.0-only')
|
||||
depends=('apparmor')
|
||||
makedepends=('go' 'git' 'rsync')
|
||||
makedepends=('go' 'git' 'rsync' 'just')
|
||||
conflicts=("$pkgname-git")
|
||||
|
||||
pkgver() {
|
||||
|
|
@ -30,10 +30,10 @@ build() {
|
|||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
|
||||
make DISTRIBUTION=arch
|
||||
DISTRIBUTION=arch just complain
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
make install DESTDIR="$pkgdir"
|
||||
just destdir="$pkgdir" install
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue