diff options
author | Maxime Gauduin | 2017-05-01 16:08:34 +0200 |
---|---|---|
committer | Maxime Gauduin | 2017-05-01 16:08:34 +0200 |
commit | 6247eb4880bbac77ce6f549830dc48a5334969f2 (patch) | |
tree | c6248eb8d4f1acea166d70921c448ff9481ecd09 | |
download | aur-6247eb4880bbac77ce6f549830dc48a5334969f2.tar.gz |
Add wingpanel-indicator-keyboard-git
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..82bf962d7434 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Mon May 1 14:08:34 UTC 2017 +pkgbase = wingpanel-indicator-keyboard-git + pkgdesc = Keyboard indicator for Wingpanel + pkgver = r97.07682cb + pkgrel = 1 + url = https://github.com/elementary/wingpanel-indicator-keyboard + arch = i686 + arch = x86_64 + groups = pantheon-unstable + license = GPL3 + makedepends = cmake + makedepends = git + makedepends = granite-git + makedepends = vala + makedepends = wingpanel-git + depends = glib2 + depends = glibc + depends = gtk3 + depends = libxml2 + depends = libwingpanel-2.0.so + source = git+https://github.com/elementary/wingpanel-indicator-keyboard.git + sha256sums = SKIP + +pkgname = wingpanel-indicator-keyboard-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6667f4d42332 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> + +pkgname=wingpanel-indicator-keyboard-git +pkgver=r97.07682cb +pkgrel=1 +pkgdesc='Keyboard indicator for Wingpanel' +arch=('i686' 'x86_64') +url='https://github.com/elementary/wingpanel-indicator-keyboard' +license=('GPL3') +groups=('pantheon-unstable') +depends=('glib2' 'glibc' 'gtk3' 'libxml2' + 'libwingpanel-2.0.so') +makedepends=('cmake' 'git' 'granite-git' 'vala' 'wingpanel-git') +source=("git+https://github.com/elementary/wingpanel-indicator-keyboard.git") +sha256sums=('SKIP') + +pkgver() { + cd wingpanel-indicator-keyboard + + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + cd wingpanel-indicator-keyboard + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build +} + +build() { + cd wingpanel-indicator-keyboard/build + + cmake .. \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DCMAKE_INSTALL_LIBDIR='/usr/lib' + make +} + +package() { + cd wingpanel-indicator-keyboard/build + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: |