summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrew Guschin <saintruler@gmail.com>2021-09-02 23:45:56 +0400
committerAndrew Guschin <saintruler@gmail.com>2021-09-02 23:45:56 +0400
commit14068dfebb01001cb732866235df96f84ffb6d82 (patch)
tree189e7a1defddb64be8db1cda9eb79aeffc8c71d8 /PKGBUILD
parentec94f1e8f8a9ef263ff1be098901d1708be4804d (diff)
Added PKGBUILD and patches dpms and messageHEADmaster
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..4f818f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+pkgname=slock-custom-git
+_pkgname=slock
+pkgver=1.4
+pkgrel=1
+pkgdesc='Simple X display locker'
+url='http://git.vasthecat.ru/slock.git'
+arch=('i686' 'x86_64' 'armv7h')
+license=('MIT')
+makedepends=('git')
+depends=('libxrandr')
+source=(
+ 'config.h'
+ 'slock.c'
+ 'slock.1'
+ 'Makefile'
+ 'arg.h'
+ 'config.mk'
+ 'explicit_bzero.c'
+ 'LICENSE'
+ 'util.h'
+)
+md5sums=(
+ 'SKIP'
+ '31bcab9d9fc728d06ce0e7901ac76ea1'
+ '9b6e3255f77ba8d96dde17058580761c'
+ 'b55b4021060bc816ff9ac68ef5269144'
+ '088564fdbdbbae55b777dce80abc602f'
+ 'f0fad6e2be404189b869a7598cf98626'
+ '4885a6c0db3b9f2fd6c07100fea0fe6e'
+ '41b71f339fba66b45a89418a350ef914'
+ 'f26ca62b855e6d8e134f2ecdf9f0ca92'
+)
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+
+build() {
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+}
+
+package() {
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}