summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome Leclanche2015-06-09 23:12:39 +0200
committerJerome Leclanche2015-06-09 23:12:39 +0200
commitd5710300d427ce009d7050dd4cfa50ce0b48f422 (patch)
tree1bd67716ffd6d0c753e3c3bc61f929f3b147598a
downloadaur-d5710300d427ce009d7050dd4cfa50ce0b48f422.tar.gz
Initial import from old AUR
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD26
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..15ee55e4b16
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = ofono
+ pkgdesc = Infrastructure for building mobile telephony (GSM/UMTS) applications
+ pkgver = 1.16
+ pkgrel = 1
+ url = https://01.org/ofono
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = bluez
+ depends = dbus-core
+ depends = modemmanager
+ depends = glib2
+ depends = udev
+ depends = mobile-broadband-provider-info
+ source = https://www.kernel.org/pub/linux/network/ofono/ofono-1.16.tar.xz
+ sha256sums = 403b98dadece8bc804c0bd16b96d3db5a3bb0f84af64b3d67924da2d1a754b07
+
+pkgname = ofono
+
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"
+}