diff options
author | Antonio Rojas | 2015-06-08 22:53:27 +0200 |
---|---|---|
committer | Antonio Rojas | 2015-06-08 22:53:27 +0200 |
commit | 8e217da9a966ab45aeedb5a1e35d20834ab3da29 (patch) | |
tree | 463b5615a6451636ccad8c31bbc7831c31e8c1ac /PKGBUILD | |
download | aur-8e217da9a966ab45aeedb5a1e35d20834ab3da29.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..73421e1bd848 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Antonio Rojas <arojas@archlinux.org> + +pkgname=bluez-qt-git +pkgver=r296.840aecb +pkgrel=1 +pkgdesc='Qt wrapper for Bluez 5 DBus API' +arch=(i686 x86_64) +url='https://projects.kde.org/projects/playground/libs/libbluedevil' +license=(GPL2) +depends=(qt5-declarative bluez) +makedepends=(extra-cmake-modules git) +provides=(bluez-qt) +conflicts=(libbluedevil-frameworks bluez-qt) +source=("git://anongit.kde.org/bluez-qt.git") +sha256sums=('SKIP') + +pkgver() { + cd bluez-qt + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../bluez-qt \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |