aboutsummaryrefslogtreecommitdiffstats
path: root/testing/slock/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-02-12 20:54:32 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-02-12 20:54:32 +0100
commit84d46c010d41313f36ed2ac66592c8f1aea6ae99 (patch)
tree20a35c6bdc7067138c9458cb93824ca9fbe3cfdd /testing/slock/APKBUILD
parent8640afc9fe05531dbe60317167b4341728dd92a4 (diff)
downloadaports-84d46c010d41313f36ed2ac66592c8f1aea6ae99.tar.bz2
aports-84d46c010d41313f36ed2ac66592c8f1aea6ae99.tar.xz
testing/slock: upgrade to 1.3
Diffstat (limited to 'testing/slock/APKBUILD')
-rw-r--r--testing/slock/APKBUILD28
1 files changed, 12 insertions, 16 deletions
diff --git a/testing/slock/APKBUILD b/testing/slock/APKBUILD
index c1d99d36b8..2a53f6cdeb 100644
--- a/testing/slock/APKBUILD
+++ b/testing/slock/APKBUILD
@@ -1,35 +1,34 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=slock
-pkgver=1.2
-pkgrel=1
+pkgver=1.3
+pkgrel=0
pkgdesc="A simple screen locker for X"
url="http://tools.suckless.org/slock/"
arch="all"
license="MIT"
depends=""
depends_dev=""
-makedepends="libxext-dev linux-headers"
+makedepends="libxext-dev libxrandr-dev linux-headers"
install=""
-source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz
- safer-oom-killer-disablement.patch"
options="suid"
+subpackages="$pkgname-doc"
+source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
+ local i
cd "$_builddir"
-
- local i=
for i in $source; do
case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 ;;
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
- cd "$_builddir"
- make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 || return 1
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 \
+ -C "$_builddir" || return 1
}
package() {
@@ -37,9 +36,6 @@ package() {
-C "$_builddir" install || return 1
}
-md5sums="ee65f6e9f5ce71f3a6088d53b2485430 slock-1.2.tar.gz
-5ce27461215d35614b7c7697ae827e1f safer-oom-killer-disablement.patch"
-sha256sums="3402658f890a88da3f34db04fca1783ed549ade45c2ebb8d8f0cd2b549f633b3 slock-1.2.tar.gz
-65eee712e2f07d9d5b6b241a703a9340d2456579ed253a73bf354ba37d2e900a safer-oom-killer-disablement.patch"
-sha512sums="0e66c5451c72a5df391a61eefa6b1a1493705fc9c0b04d9db934a56c11852c284ecca8706f47ceb1d1c8cfc5241c818c6026afb30fc9cf3938e44ea282338bee slock-1.2.tar.gz
-60583375fcfeff3d5d16a39f0fc010a57e251988e58fef47c9a65f062cebaab7fa9f2e9c3ce019d9918398ee86448fdc8dcf15bc25a8cbda830f686b5f3840f1 safer-oom-killer-disablement.patch"
+md5sums="825aaeccba9b3b3c1f3d249d47c1396a slock-1.3.tar.gz"
+sha256sums="bab4a3aea4046aa0fd0361c3649b79b90ca531bc5dfae3c4a6c0fe436152bd18 slock-1.3.tar.gz"
+sha512sums="5024588f6d25f9d72a9d2b8ef9d8a2a94e5d5e53f30f4a15df83b693a3706b1ad6550422f36af29f54429a9c516d14a349e46aeb9896c6e32009ff0da5c02a8f slock-1.3.tar.gz"