summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2017-05-01 23:10:04 +0200
committerMaxime Gauduin2017-05-01 23:10:04 +0200
commitb7611ab14da36886262b625190a2b9174bc1a405 (patch)
treefa1df5918c55f75a53b7ff72ccbdaa174b9591fb
downloadaur-b7611ab14da36886262b625190a2b9174bc1a405.tar.gz
Add switchboard-plug-keyboard-git
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD51
2 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f1653cf9cae
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+# Generated by mksrcinfo v8
+# Mon May 1 21:10:03 UTC 2017
+pkgbase = switchboard-plug-keyboard-git
+ pkgdesc = Switchboard Keyboard Plug
+ pkgver = r688.3b2a437
+ pkgrel = 1
+ url = https://github.com/elementary/switchboard-plug-keyboard
+ arch = i686
+ arch = x86_64
+ groups = pantheon-unstable
+ license = GPL3
+ makedepends = cmake
+ makedepends = git
+ makedepends = granite-git
+ makedepends = switchboard-git
+ makedepends = vala
+ depends = glib2
+ depends = glibc
+ depends = gtk3
+ depends = libgee
+ depends = libxml2
+ depends = libgranite.so
+ depends = libswitchboard-2.0.so
+ provides = switchboard-plug-keyboard
+ conflicts = switchboard-plug-keyboard
+ replaces = switchboard-plug-keyboard-bzr
+ source = git+https://github.com/elementary/switchboard-plug-keyboard.git
+ sha256sums = SKIP
+
+pkgname = switchboard-plug-keyboard-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e3be8c5c8b0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+
+pkgname=switchboard-plug-keyboard-git
+pkgver=r688.3b2a437
+pkgrel=1
+pkgdesc='Switchboard Keyboard Plug'
+arch=('i686' 'x86_64')
+url='https://github.com/elementary/switchboard-plug-keyboard'
+license=('GPL3')
+groups=('pantheon-unstable')
+depends=('glib2' 'glibc' 'gtk3' 'libgee' 'libxml2'
+ 'libgranite.so' 'libswitchboard-2.0.so')
+makedepends=('cmake' 'git' 'granite-git' 'switchboard-git' 'vala')
+provides=('switchboard-plug-keyboard')
+conflicts=('switchboard-plug-keyboard')
+replaces=('switchboard-plug-keyboard-bzr')
+source=('git+https://github.com/elementary/switchboard-plug-keyboard.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd switchboard-plug-keyboard
+
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd switchboard-plug-keyboard
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd switchboard-plug-keyboard/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE='Release' \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DCMAKE_INSTALL_LIBDIR='/usr/lib'
+ make
+}
+
+package() {
+ cd switchboard-plug-keyboard/build
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et: