summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJerome Leclanche2015-06-09 23:12:39 +0200
committerJerome Leclanche2015-06-09 23:12:39 +0200
commitd5710300d427ce009d7050dd4cfa50ce0b48f422 (patch)
tree1bd67716ffd6d0c753e3c3bc61f929f3b147598a /PKGBUILD
downloadaur-d5710300d427ce009d7050dd4cfa50ce0b48f422.tar.gz
Initial import from old AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b841df5f050
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Jerome Leclanche <jerome@leclan.ch>
+
+pkgname=ofono
+pkgver=1.16
+pkgrel=1
+pkgdesc="Infrastructure for building mobile telephony (GSM/UMTS) applications"
+url="https://01.org/ofono"
+arch=("i686" "x86_64")
+license=("GPL2")
+depends=("bluez" "dbus-core" "modemmanager" "glib2" "udev" "mobile-broadband-provider-info")
+source=("https://www.kernel.org/pub/linux/network/$pkgname/$pkgname-$pkgver.tar.xz")
+sha256sums=("403b98dadece8bc804c0bd16b96d3db5a3bb0f84af64b3d67924da2d1a754b07")
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm755 "$srcdir/$pkgname-$pkgver/src/ofono.conf" "$pkgdir/etc/dbus-1/system.d/ofono.conf"
+ install -Dm755 "$srcdir/$pkgname-$pkgver/src/ofono.service" "$pkgdir/usr/lib/systemd/system/ofono.service"
+}