summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2019-01-06 19:25:19 +0100
committerMaxime Gauduin2019-01-06 19:25:19 +0100
commitc99e6d36b4c326acafb9a46208798ab577706844 (patch)
tree31135775b83ec605420d02d25706f648ada23f1a
parent6b3052dad5ab18c2da5a3435572ea18708748a49 (diff)
downloadaur-c99e6d36b4c326acafb9a46208798ab577706844.tar.gz
bump power indicator
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD35
2 files changed, 15 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 42cffd94aa2..351ef84e18a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,29 +1,28 @@
# Generated by mksrcinfo v8
-# Fri May 19 12:50:42 UTC 2017
+# Sun Jan 6 18:25:19 UTC 2019
pkgbase = wingpanel-indicator-power
pkgdesc = Wingpanel Power Indicator
- pkgver = 2.1.1
+ pkgver = 2.1.3
pkgrel = 1
url = https://github.com/elementary/wingpanel-indicator-power
- arch = i686
arch = x86_64
groups = pantheon
license = GPL3
- makedepends = cmake
+ makedepends = git
makedepends = intltool
+ makedepends = meson
makedepends = vala
makedepends = wingpanel
depends = bamf
depends = glib2
- depends = glibc
depends = gtk3
depends = libgee
depends = libgtop
depends = libgranite.so
depends = libudev.so
depends = libwingpanel-2.0.so
- source = wingpanel-indicator-power-2.1.1.tar.gz::https://github.com/elementary/wingpanel-indicator-power/archive/2.1.1.tar.gz
- sha256sums = 6557f16bad605f57b930febfec2f60e6c6bc24358712028fba20f67349974e5d
+ source = git+https://github.com/elementary/wingpanel-indicator-power.git#tag=2.1.3
+ sha256sums = SKIP
pkgname = wingpanel-indicator-power
diff --git a/PKGBUILD b/PKGBUILD
index 5f9e2f0c755..139a35d393f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,43 +1,26 @@
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=wingpanel-indicator-power
-pkgver=2.1.1
+pkgver=2.1.3
pkgrel=1
pkgdesc='Wingpanel Power Indicator'
-arch=('i686' 'x86_64')
+arch=('x86_64')
url='https://github.com/elementary/wingpanel-indicator-power'
license=('GPL3')
groups=('pantheon')
-depends=('bamf' 'glib2' 'glibc' 'gtk3' 'libgee' 'libgtop'
+depends=('bamf' 'glib2' 'gtk3' 'libgee' 'libgtop'
'libgranite.so' 'libudev.so' 'libwingpanel-2.0.so')
-makedepends=('cmake' 'intltool' 'vala' 'wingpanel')
-source=("wingpanel-indicator-power-${pkgver}.tar.gz::https://github.com/elementary/wingpanel-indicator-power/archive/${pkgver}.tar.gz")
-sha256sums=('6557f16bad605f57b930febfec2f60e6c6bc24358712028fba20f67349974e5d')
-
-prepare() {
- cd wingpanel-indicator-power-${pkgver}
-
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build
-}
+makedepends=('git' 'intltool' 'meson' 'vala' 'wingpanel')
+source=("git+https://github.com/elementary/wingpanel-indicator-power.git#tag=${pkgver}")
+sha256sums=('SKIP')
build() {
- cd wingpanel-indicator-power-${pkgver}/build
-
- cmake .. \
- -DCMAKE_BUILD_TYPE='Release' \
- -DCMAKE_INSTALL_PREFIX='/usr' \
- -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
- -DGSETTINGS_COMPILE='OFF'
- make
+ arch-meson wingpanel-indicator-power build
+ ninja -C build
}
package() {
- cd wingpanel-indicator-power-${pkgver}/build
-
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" ninja -C build install
}
# vim: ts=2 sw=2 et: