summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4101ca2f4f5..8965a4a3388 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,20 @@
pkgname=physlock-issue-git
_pkgname='physlock'
-pkgver=v0.5.r58.gf9d9618
+pkgver=v0.5.r69.g24cc31d
pkgrel=1
pkgdesc="lightweight linux console locking tool (with support for displaying /etc/issue)"
arch=('x86_64')
license=('GPL')
url="https://github.com/hv15/physlock"
-depends=('pam')
+depends=('pam' 'systemd-libs')
makedepends=('git')
provides=('physlock')
conflicts=('physlock')
-source=("${_pkgname}::git+${url}.git")
-sha512sums=('SKIP')
+source=("${_pkgname}::git+${url}.git"
+ 'physlock.pam')
+sha512sums=('SKIP'
+ '51f35b2b736d8b601a6ea42c038ab0f498225ce4e392eeb35fdcec4a51a7a492a836de451a28565a27dea694a4a29ac4de7ea2c8852bba63cad58710641557fe')
pkgver() {
cd "$_pkgname"
@@ -24,12 +26,10 @@ pkgver() {
}
build() {
- cd "${_pkgname}"
- make PREFIX="/usr"
+ make PREFIX="/usr" -C "${_pkgname}"
}
package() {
- cd "$_pkgname"
- make DESTDIR="${pkgdir}" PREFIX="/usr" install
+ install -D -m 644 physlock.pam "$pkgdir/etc/pam.d/physlock"
+ make DESTDIR="${pkgdir}" PREFIX="/usr" -C "${_pkgname}" install
}
-