summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2022-08-27 16:35:45 -0700
committerVlad Glagolev2022-08-27 16:35:45 -0700
commitb51eb6a180171b9cd06b9273df60f6181cf6daf6 (patch)
treea9a1421ec93be1ff1b7f5b12f4c599764969ec3d
parenta54477bbad2ca9cf6502645938123340267cfbc3 (diff)
downloadaur-b51eb6a180171b9cd06b9273df60f6181cf6daf6.tar.gz
alock: 2.5.0-2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 15 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4995e6aa786a..a42c8e4891af 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = alock
pkgdesc = simple screen lock application for X server
pkgver = 2.5.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Arkq/alock
arch = i686
arch = x86_64
@@ -21,6 +21,10 @@ pkgbase = alock
conflicts = alock-svn
conflicts = alock-git
source = alock-2.5.0.tar.gz::https://github.com/Arkq/alock/archive/refs/tags/v2.5.0.tar.gz
+ source = https://github.com/Arkq/alock/pull/14.patch
+ source = https://github.com/Arkq/alock/pull/21.patch
sha256sums = c763107ec8716787b97b0e7a6aaa24320b6c1a495bf2c60949d3a2ce228096ac
+ sha256sums = f9a7750108c7038cb7e715a102ffb46920d4a49185e87db8a72ad285b596f85d
+ sha256sums = 719acbea3bd9d3abb5b6e4122ff5519668edf8036a6f931e3c2279ae16f36aea
pkgname = alock
diff --git a/PKGBUILD b/PKGBUILD
index 2ba62da10ee7..302427da038b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=alock
pkgver=2.5.0
-pkgrel=1
+pkgrel=2
pkgdesc="simple screen lock application for X server"
arch=('i686' 'x86_64')
url="https://github.com/Arkq/alock"
@@ -12,12 +12,19 @@ optdepends=('dunst' 'xorg-xbacklight')
provides=("${pkgname}")
conflicts=('alock-svn' 'alock-git')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Arkq/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz)
-sha256sums=('c763107ec8716787b97b0e7a6aaa24320b6c1a495bf2c60949d3a2ce228096ac')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Arkq/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz
+ 'https://github.com/Arkq/alock/pull/14.patch'
+ 'https://github.com/Arkq/alock/pull/21.patch')
+sha256sums=('c763107ec8716787b97b0e7a6aaa24320b6c1a495bf2c60949d3a2ce228096ac'
+ 'f9a7750108c7038cb7e715a102ffb46920d4a49185e87db8a72ad285b596f85d'
+ '719acbea3bd9d3abb5b6e4122ff5519668edf8036a6f931e3c2279ae16f36aea')
prepare() {
cd "${pkgname}-${pkgver}"
+ patch -p1 < ../14.patch
+ patch -p1 < ../21.patch
+
sed -i -e 's,"login","system-auth",' src/auth_pam.c
autoreconf -fiv
}