summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2016-08-20 23:10:57 +0200
committerMaxime Gauduin2016-08-20 23:10:57 +0200
commite4cee083025aa2367655ba2b024f00315439abe2 (patch)
tree83e0fdcae6efef44c0987561e9afc1b309ae85a5
downloadaur-e4cee083025aa2367655ba2b024f00315439abe2.tar.gz
Initial commit
-rw-r--r--.SRCINFO26
-rw-r--r--MKPKG6
-rw-r--r--PKGBUILD43
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9070036b48d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by mksrcinfo v8
+# Sat Aug 20 21:10:57 UTC 2016
+pkgbase = wingpanel-indicator-power
+ pkgdesc = Power indicator for Wingpanel
+ pkgver = 2.0
+ pkgrel = 1
+ url = https://launchpad.net/wingpanel-indicator-power
+ arch = i686
+ arch = x86_64
+ groups = pantheon
+ license = GPL3
+ makedepends = cmake
+ makedepends = vala
+ depends = bamf
+ depends = glib2
+ depends = glibc
+ depends = gtk3
+ depends = libgee
+ depends = libgtop
+ depends = libgranite.so
+ depends = libwingpanel-2.0.so
+ source = https://launchpad.net/wingpanel-indicator-power/loki/2.0/+download/wingpanel-indicator-power-2.0.tar.xz
+ sha256sums = adf5c32342472a77ff68617af118d371e8cf4b84ab25dc3e63b5bac248edc333
+
+pkgname = wingpanel-indicator-power
+
diff --git a/MKPKG b/MKPKG
new file mode 100644
index 00000000000..8b1739a022b
--- /dev/null
+++ b/MKPKG
@@ -0,0 +1,6 @@
+pkgname=('wingpanel-indicator-power-bzr')
+builddeps=('granite-bzr' 'gala-bzr' 'wingpanel-bzr')
+
+check_bzr $packagedir/$pkgname/${pkgname%-*}
+
+# vim: ts=2 sw=2 et:
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..babc57c9cd3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+
+pkgname=wingpanel-indicator-power
+pkgver=2.0
+pkgrel=1
+pkgdesc='Power indicator for Wingpanel'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/wingpanel-indicator-power'
+license=('GPL3')
+groups=('pantheon')
+depends=('bamf' 'glib2' 'glibc' 'gtk3' 'libgee' 'libgtop'
+ 'libgranite.so' 'libwingpanel-2.0.so')
+makedepends=('cmake' 'vala')
+source=("https://launchpad.net/wingpanel-indicator-power/loki/${pkgver}/+download/wingpanel-indicator-power-${pkgver}.tar.xz")
+sha256sums=('adf5c32342472a77ff68617af118d371e8cf4b84ab25dc3e63b5bac248edc333')
+
+prepare() {
+ cd wingpanel-indicator-power-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd wingpanel-indicator-power-${pkgver}/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib' \
+ -DGSETTINGS_COMPILE='FALSE'
+ make
+}
+
+package() {
+ cd wingpanel-indicator-power-${pkgver}/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: