diff options
author | Hans-Nikolai Viessmann | 2019-01-01 13:27:13 +0100 |
---|---|---|
committer | Hans-Nikolai Viessmann | 2019-01-01 13:27:13 +0100 |
commit | c5be0abb943bbbed9bf73e9e97f06ebe4804f27d (patch) | |
tree | 72a06aed9c7d7fab86233f722ea7a2707779cd16 | |
parent | 7330ec839e01f55b82eb1e60d12f5d11215c5fac (diff) | |
download | aur-c5be0abb943bbbed9bf73e9e97f06ebe4804f27d.tar.gz |
added provides
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 9 insertions, 7 deletions
@@ -1,12 +1,13 @@ pkgbase = physlock-git pkgdesc = lightweight linux console locking tool pkgver = v11.r35.g15744f5 - pkgrel = 2 + pkgrel = 3 url = https://github.com/muennich/physlock arch = x86_64 license = GPL makedepends = git depends = pam + provides = physlock conflicts = physlock source = physlock::git+https://github.com/muennich/physlock.git sha512sums = SKIP @@ -5,22 +5,18 @@ pkgname=physlock-git _pkgname='physlock' pkgver=v11.r35.g15744f5 -pkgrel=2 +pkgrel=3 pkgdesc="lightweight linux console locking tool" arch=('x86_64') license=('GPL') url="https://github.com/muennich/physlock" depends=('pam') makedepends=('git') +provides=('physlock') conflicts=('physlock') source=("${_pkgname}::git+${url}.git") sha512sums=('SKIP') -build() { - cd "${_pkgname}" - make PREFIX="/usr" -} - pkgver() { cd "$_pkgname" ( set -o pipefail @@ -29,6 +25,11 @@ pkgver() { ) } +build() { + cd "${_pkgname}" + make PREFIX="/usr" +} + package() { cd "$_pkgname" make DESTDIR="${pkgdir}" PREFIX="/usr" install |