summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Menelkir2021-01-25 00:04:45 -0300
committerDaniel Menelkir2021-01-25 00:04:45 -0300
commit5e601353515b9d64f56084ba7049c9431737c708 (patch)
treef737504e550ad02263f4b5f0cf82c03609124569
parent6e09ec3a5fc901168c55c1bacf6dc3932088862b (diff)
downloadaur-5e601353515b9d64f56084ba7049c9431737c708.tar.gz
Update to 1.2.8: Forked, updated to the new repository. Agregated fixes from various other distributions.
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD33
2 files changed, 17 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8544c2a7751..54835e3eb9c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,15 @@
pkgbase = g15daemon
pkgdesc = A daemon that makes it possible to use the G-Buttons and draw on the G15 LCD
- pkgver = 1.9.5.3
- pkgrel = 11
- url = https://sourceforge.net/projects/g15daemon/
+ pkgver = 1.9.5.5
+ pkgrel = 1
+ url = https://gitlab.com/menelkir/g15daemon
arch = x86_64
license = GPL
- depends = libg15render>=1.2
- source = https://downloads.sourceforge.net/g15daemon/g15daemon-1.9.5.3.tar.bz2
+ depends = libg15render>=1.3
+ source = https://gitlab.com/menelkir/g15daemon/-/archive/v1.9.5.5/g15daemon-v1.9.5.5.tar.bz2
source = g15daemon.service
- source = g15daemon-1.9.5.3-uinput.patch
- source = g15daemon-1.9.5.3-config-write.patch
- source = g15daemon-1.9.5.3-recv-oob-answer.patch
- sha512sums = 3dfeee7e9c0db1014f20e4c489cd4f277a880dc9928d4a2d8ef7a1ceaadfc491f0ffaac8d2a38f07f883f96862d7441500be2415b326f1495c94f86ff467ae4b
+ sha512sums = b5707a4372e9b3993c05d1a7bfb93193cbe928586d0b77247e630c35be81122a13884dd4ea54eefee45f44a27522719e108a94228d4987b610327f5d5d328dbb
sha512sums = 45867c1737cbca98c8a069b30b383404c39438d70179fbd53a91f09921205c9739826ea7868388216219a6b24e4dee6814714a6d162c10dfb4a663a4efa8145d
- sha512sums = be9e8edf9c17c0dfe1d72ec011a4bce97972cb66f05b5fa1fe0839fefd194e1ace40429bd054e7e670064074c0b017b0c33237f7c6964de821bcd119cdd83b4b
- sha512sums = 7d6250bc5e8e2c9a0a045ef15d4a0d747e21f7da3cc577cb4ffc8dd8d0baa47a9005276475524c2ca8cca6bb9155549dcb781780d8c76cdec2926923b4bb22d9
- sha512sums = 1adb4486e4275b83bb06c6a912cc020cdc56c7c86822ad35ded823fe768d6bed3248081a62c071fd8268a86cb7240610732f9a87c7eb787ce9734c448eec583d
pkgname = g15daemon
+
diff --git a/PKGBUILD b/PKGBUILD
index 30325537fe7..ab68210afbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,40 +3,27 @@
# Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
pkgname=g15daemon
-pkgver=1.9.5.3
-pkgrel=11
+pkgver=1.9.5.5
+pkgrel=1
pkgdesc="A daemon that makes it possible to use the G-Buttons and draw on the G15 LCD"
arch=('x86_64')
-url="https://sourceforge.net/projects/g15daemon/"
+url="https://gitlab.com/menelkir/g15daemon"
license=('GPL')
-depends=('libg15render>=1.2')
-source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- g15daemon.service
- ${pkgname}-${pkgver}-uinput.patch
- ${pkgname}-${pkgver}-config-write.patch
- ${pkgname}-${pkgver}-recv-oob-answer.patch)
-sha512sums=('3dfeee7e9c0db1014f20e4c489cd4f277a880dc9928d4a2d8ef7a1ceaadfc491f0ffaac8d2a38f07f883f96862d7441500be2415b326f1495c94f86ff467ae4b'
- '45867c1737cbca98c8a069b30b383404c39438d70179fbd53a91f09921205c9739826ea7868388216219a6b24e4dee6814714a6d162c10dfb4a663a4efa8145d'
- 'be9e8edf9c17c0dfe1d72ec011a4bce97972cb66f05b5fa1fe0839fefd194e1ace40429bd054e7e670064074c0b017b0c33237f7c6964de821bcd119cdd83b4b'
- '7d6250bc5e8e2c9a0a045ef15d4a0d747e21f7da3cc577cb4ffc8dd8d0baa47a9005276475524c2ca8cca6bb9155549dcb781780d8c76cdec2926923b4bb22d9'
- '1adb4486e4275b83bb06c6a912cc020cdc56c7c86822ad35ded823fe768d6bed3248081a62c071fd8268a86cb7240610732f9a87c7eb787ce9734c448eec583d')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/${pkgname}-${pkgver}-uinput.patch"
- patch -Np1 -i "${srcdir}/${pkgname}-${pkgver}-config-write.patch"
- patch -Np1 -i "${srcdir}/${pkgname}-${pkgver}-recv-oob-answer.patch"
-}
+depends=('libg15render>=1.3')
+source=(https://gitlab.com/menelkir/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2
+ g15daemon.service)
+sha512sums=('b5707a4372e9b3993c05d1a7bfb93193cbe928586d0b77247e630c35be81122a13884dd4ea54eefee45f44a27522719e108a94228d4987b610327f5d5d328dbb'
+ '45867c1737cbca98c8a069b30b383404c39438d70179fbd53a91f09921205c9739826ea7868388216219a6b24e4dee6814714a6d162c10dfb4a663a4efa8145d')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-v${pkgver}"
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
./configure --prefix=/usr --sbindir=/usr/bin --disable-static
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-v${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m 644 "${srcdir}/g15daemon.service" \
"${pkgdir}/usr/lib/systemd/system/g15daemon.service"