diff options
author | Maxime Gauduin | 2017-05-01 22:15:38 +0200 |
---|---|---|
committer | Maxime Gauduin | 2017-05-01 22:15:38 +0200 |
commit | a19d8b8e77feaee8bbd1bb6db8a89e036d406449 (patch) | |
tree | 161fd2423f98a7f554863977baf2788539d8abae | |
download | aur-a19d8b8e77feaee8bbd1bb6db8a89e036d406449.tar.gz |
Add switchboard-plug-locale-git
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 51 |
2 files changed, 83 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9a4e6218985b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +# Generated by mksrcinfo v8 +# Mon May 1 20:15:38 UTC 2017 +pkgbase = switchboard-plug-locale-git + pkgdesc = Switchboard Locale Plug + pkgver = r320.84b55a8 + pkgrel = 1 + url = https://github.com/elementary/switchboard-plug-locale + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + makedepends = git + makedepends = granite-git + makedepends = switchboard-git + makedepends = vala + depends = accountsservice + depends = glib2 + depends = glibc + depends = gnome-desktop + depends = gtk3 + depends = ibus + depends = libgee + depends = polkit + depends = libswitchboard-2.0.so + provides = switchboard-plug-locale + conflicts = switchboard-plug-locale + replaces = switchboard-plug-locale-bzr + source = git+https://github.com/elementary/switchboard-plug-locale.git + sha256sums = SKIP + +pkgname = switchboard-plug-locale-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ca418ace78d9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> + +pkgname=switchboard-plug-locale-git +pkgver=r320.84b55a8 +pkgrel=1 +pkgdesc='Switchboard Locale Plug' +arch=('i686' 'x86_64') +url='https://github.com/elementary/switchboard-plug-locale' +license=('GPL3') +depends=('accountsservice' 'glib2' 'glibc' 'gnome-desktop' 'gtk3' 'ibus' + 'libgee' 'polkit' + 'libswitchboard-2.0.so') +makedepends=('cmake' 'git' 'granite-git' 'switchboard-git' 'vala') +provides=('switchboard-plug-locale') +conflicts=('switchboard-plug-locale') +replaces=('switchboard-plug-locale-bzr') +source=('git+https://github.com/elementary/switchboard-plug-locale.git') +sha256sums=('SKIP') + +pkgver() { + cd switchboard-plug-locale + + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + cd switchboard-plug-locale + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build +} + +build() { + cd switchboard-plug-locale/build + + cmake .. \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DCMAKE_INSTALL_LIBDIR='/usr/lib' + make +} + +package() { + cd switchboard-plug-locale/build + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: |