diff options
author | Yoshi2889 | 2016-03-19 19:58:52 +0100 |
---|---|---|
committer | Yoshi2889 | 2016-03-19 19:58:52 +0100 |
commit | 167e3fbeb8af74467cbbe6d5046a7d4926bc423e (patch) | |
tree | c12a68fabe001de77ead69c0c8b82ee403ef4def | |
download | aur-167e3fbeb8af74467cbbe6d5046a7d4926bc423e.tar.gz |
First commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 46 |
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a3f2737abab8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Sat Mar 19 18:58:33 UTC 2016 +pkgbase = switchboard-plug-useraccounts-bzr + pkgdesc = User accounts plug for Switchboard + pkgver = r222 + pkgrel = 1 + url = https://launchpad.net/switchboard-plug-useraccounts + arch = i686 + arch = x86_64 + groups = pantheon-unstable + license = GPL3 + makedepends = bzr + makedepends = cmake + makedepends = vala + depends = glib2 + depends = glibc + depends = gtk3 + depends = libgranite.so + depends = libswitchboard-2.0.so + provides = switchboard-plug-useraccounts + conflicts = switchboard-plug-useraccounts + source = bzr+lp:switchboard-plug-useraccounts + sha256sums = SKIP + +pkgname = switchboard-plug-useraccounts-bzr + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3a1c439c3935 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Based on a PKGBUILD by Maxime Gauduin <alucryd@archlinux.org> + +pkgname=switchboard-plug-useraccounts-bzr +pkgver=r222 +pkgrel=1 +pkgdesc='User accounts plug for Switchboard' +arch=('i686' 'x86_64') +url='https://launchpad.net/switchboard-plug-useraccounts' +license=('GPL3') +groups=('pantheon-unstable') +depends=('glib2' 'glibc' 'gtk3' + 'libgranite.so' 'libswitchboard-2.0.so') +makedepends=('bzr' 'cmake' 'vala') +provides=('switchboard-plug-useraccounts') +conflicts=('switchboard-plug-useraccounts') +source=('bzr+lp:switchboard-plug-useraccounts') +sha256sums=('SKIP') + +pkgver() { + cd switchboard-plug-useraccounts + + echo "r$(bzr revno)" +} + +build() { + cd switchboard-plug-useraccounts + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + + cmake .. \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DCMAKE_INSTALL_LIBDIR='/usr/lib' + make +} + +package() { + cd switchboard-plug-useraccounts/build + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: |