diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-09-23 02:03:24 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-22 23:38:44 -0300 |
commit | d04e27a8bea0214abc6aa1a90892bca50a3407dd (patch) | |
tree | 34dd3d64d3eeb0ceb6557e782b5408d08d01df34 /testing/iio-sensor-proxy/APKBUILD | |
parent | be34fe10f6ba0cfb9e77ccf6931c006c6611993d (diff) | |
download | aports-d04e27a8bea0214abc6aa1a90892bca50a3407dd.tar.bz2 aports-d04e27a8bea0214abc6aa1a90892bca50a3407dd.tar.xz |
testing/iio-sensor-proxy: new aport
Diffstat (limited to 'testing/iio-sensor-proxy/APKBUILD')
-rw-r--r-- | testing/iio-sensor-proxy/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/iio-sensor-proxy/APKBUILD b/testing/iio-sensor-proxy/APKBUILD new file mode 100644 index 0000000000..faef20af74 --- /dev/null +++ b/testing/iio-sensor-proxy/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=iio-sensor-proxy +pkgver=2.8 +pkgrel=0 +pkgdesc="IIO sensors to D-Bus proxy" +url="https://developer.gnome.org/iio-sensor-proxy/1.0/" +arch="all" +license="GPL-2.0-or-later" +makedepends="eudev-dev libgudev-dev glib-dev autoconf automake libtool gtk+3.0-dev" +subpackages="$pkgname-doc" +source="https://github.com/hadess/iio-sensor-proxy/releases/download/$pkgver/iio-sensor-proxy-$pkgver.tar.xz + 0001-Revert-build-Check-for-.pc-files-before-using-them.patch" + +prepare() { + default_prepare + autoreconf -if +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --with-geoclue-user=geoclue + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="2631ca1bc3fc115d392772010c0e879750cdb1f8d3bb247483527481232c9107212d2c8cbf3bdc30942ef3bd34f4e5c56f168367cafcb8d6381b47ff908014c8 iio-sensor-proxy-2.8.tar.xz +5480763f85cb22fd7b1b791609baa3a4b251fc30a025b40aee2de584fa114686bf181a87a249ba4b0cb9080881ff55498baa7e496513bc39fa1af7c43253c465 0001-Revert-build-Check-for-.pc-files-before-using-them.patch" |