diff options
author | Maxime Gauduin | 2017-05-01 22:30:45 +0200 |
---|---|---|
committer | Maxime Gauduin | 2017-05-01 22:30:45 +0200 |
commit | 851a8d09fffda9a2b692c78420559f6a896a5c3c (patch) | |
tree | 6456fa67c0cd369d8ff19bdcbcf8c2768c135272 | |
download | aur-851a8d09fffda9a2b692c78420559f6a896a5c3c.tar.gz |
Add switchboard-plug-about-git
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 51 |
2 files changed, 80 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d5dc46c76b85 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +# Generated by mksrcinfo v8 +# Mon May 1 20:30:45 UTC 2017 +pkgbase = switchboard-plug-about-git + pkgdesc = Switchboard About Plug + pkgver = r532.86ef551 + pkgrel = 1 + url = https://github.com/elementary/switchboard-plug-about + 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 = libswitchboard-2.0.so + provides = switchboard-plug-about + conflicts = switchboard-plug-about + replaces = switchboard-plug-about-bzr + source = git+https://github.com/elementary/switchboard-plug-about.git + sha256sums = SKIP + +pkgname = switchboard-plug-about-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7591ecb08a3e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> + +pkgname=switchboard-plug-about-git +pkgver=r532.86ef551 +pkgrel=1 +pkgdesc='Switchboard About Plug' +arch=('i686' 'x86_64') +url='https://github.com/elementary/switchboard-plug-about' +license=('GPL3') +groups=('pantheon-unstable') +depends=('glib2' 'glibc' 'gtk3' 'libgee' + 'libswitchboard-2.0.so') +makedepends=('cmake' 'git' 'granite-git' 'switchboard-git' 'vala') +provides=('switchboard-plug-about') +conflicts=('switchboard-plug-about') +replaces=('switchboard-plug-about-bzr') +source=('git+https://github.com/elementary/switchboard-plug-about.git') +sha256sums=('SKIP') + +pkgver() { + cd switchboard-plug-about + + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + cd switchboard-plug-about + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build +} + +build() { + cd switchboard-plug-about/build + + cmake .. \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DCMAKE_INSTALL_LIBDIR='/usr/lib' + make +} + +package() { + cd switchboard-plug-about/build + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: |