diff options
author | Maxime Gauduin | 2017-05-01 23:04:44 +0200 |
---|---|---|
committer | Maxime Gauduin | 2017-05-01 23:04:44 +0200 |
commit | 47289f3923eb15fc9369cc8dd249bc956fa49e79 (patch) | |
tree | 1ae302637167ec03bd22399cf69342f928faa1d1 | |
download | aur-47289f3923eb15fc9369cc8dd249bc956fa49e79.tar.gz |
Add switchboard-plug-bluetooth-git
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | PKGBUILD | 51 |
2 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8fe6b5276ba9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +# Generated by mksrcinfo v8 +# Mon May 1 21:04:44 UTC 2017 +pkgbase = switchboard-plug-bluetooth-git + pkgdesc = Switchboard Bluetooth Plug + pkgver = r78.4538c1f + pkgrel = 1 + url = https://github.com/elementary/switchboard-plug-bluetooth + arch = i686 + arch = x86_64 + groups = pantheon-unstable + license = GPL3 + makedepends = cmake + makedepends = git + makedepends = granite-git + makedepends = switchboard-git + makedepends = vala + depends = bluez + depends = glib2 + depends = glibc + depends = gtk3 + depends = libgee + depends = libswitchboard-2.0.so + provides = switchboard-plug-bluetooth + conflicts = switchboard-plug-bluetooth + replaces = switchboard-plug-bluetooth-bzr + source = git+https://github.com/elementary/switchboard-plug-bluetooth.git + sha256sums = SKIP + +pkgname = switchboard-plug-bluetooth-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..35c895f89095 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Maxime Gauduin <alucryd@archlinux.org> + +pkgname=switchboard-plug-bluetooth-git +pkgver=r78.4538c1f +pkgrel=1 +pkgdesc='Switchboard Bluetooth Plug' +arch=('i686' 'x86_64') +url='https://github.com/elementary/switchboard-plug-bluetooth' +license=('GPL3') +groups=('pantheon-unstable') +depends=('bluez' 'glib2' 'glibc' 'gtk3' 'libgee' + 'libswitchboard-2.0.so') +makedepends=('cmake' 'git' 'granite-git' 'switchboard-git' 'vala') +provides=('switchboard-plug-bluetooth') +conflicts=('switchboard-plug-bluetooth') +replaces=('switchboard-plug-bluetooth-bzr') +source=('git+https://github.com/elementary/switchboard-plug-bluetooth.git') +sha256sums=('SKIP') + +pkgver() { + cd switchboard-plug-bluetooth + + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" +} + +prepare() { + cd switchboard-plug-bluetooth + + if [[ -d build ]]; then + rm -rf build + fi + mkdir build +} + +build() { + cd switchboard-plug-bluetooth/build + + cmake .. \ + -DCMAKE_BUILD_TYPE='Release' \ + -DCMAKE_INSTALL_PREFIX='/usr' \ + -DCMAKE_INSTALL_LIBDIR='/usr/lib' + make +} + +package() { + cd switchboard-plug-bluetooth/build + + make DESTDIR="${pkgdir}" install +} + +# vim: ts=2 sw=2 et: |