[arch-commits] Commit in i3blocks/trunk (PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sat Sep 7 23:53:21 UTC 2019


    Date: Saturday, September 7, 2019 @ 23:53:21
  Author: shibumi
Revision: 508555

upgpkg: i3blocks 1.5-1

* added new git source for signed tags
* added ./configure line
* added dependency glibc
* added makedependency git

Modified:
  i3blocks/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-07 23:52:50 UTC (rev 508554)
+++ PKGBUILD	2019-09-07 23:53:21 UTC (rev 508555)
@@ -4,13 +4,15 @@
 # Contributor: Vivien Didelot <vivien+aur at didelot.org>
 
 pkgname=i3blocks
-pkgver=1.4
-pkgrel=6
+pkgver=1.5
+pkgrel=1
 pkgdesc='Define blocks for your i3bar status line'
 arch=('x86_64')
 groups=('i3')
 url="https://github.com/vivien/i3blocks"
 license=('GPL3')
+makedepends=('git')
+depends=('glibc')
 optdepends=('acpi: For battery script'
             'bc: For bandwidth script'
             'lm_sensors: For temperature script'
@@ -18,16 +20,19 @@
             'playerctl: For mediaplayer script'
             'alsa-utils: For volume script'
             'sysstat: For cpu_usage script')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/vivien/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('c1f5abe90426e9f6284ef74001c9f50d08ce596b7bb8a284232116774375fa50168567785999266c8774fa39a1243c73f699a3e3be4440fbe16f33f0fde5cded')
+source=("${pkgname}-${pkgver}::git+https://github.com/vivien/${pkgname}#tag=${pkgver}?signed")
+sha512sums=('SKIP')
 backup=('etc/i3blocks.conf')
+validpgpkeys=('44C919BDF206CFDC49C7101A66C63FBDFD79670A')
 
 build () {
   cd "${pkgname}-${pkgver}"
-  make VERSION="${pkgver}" PREFIX=/usr
+  ./autogen.sh
+  ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc
+  make VERSION="${pkgver}"
 }
 
 package () {
   cd "${pkgname}-${pkgver}"
-  make VERSION="${pkgver}" PREFIX=/usr LIBEXECDIR=/usr/lib DESTDIR="${pkgdir}" install
+  make VERSION="${pkgver}" DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list