[arch-commits] Commit in blueman/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:45:24 UTC 2020
Date: Thursday, November 12, 2020 @ 19:45:23
Author: felixonmars
Revision: 753598
archrelease: copy trunk to community-staging-x86_64
Added:
blueman/repos/community-staging-x86_64/
blueman/repos/community-staging-x86_64/PKGBUILD
(from rev 753596, blueman/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: blueman/repos/community-staging-x86_64/PKGBUILD (from rev 753596, blueman/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 19:45:23 UTC (rev 753598)
@@ -0,0 +1,46 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Arthur Zamarin <arthurzam at gmail.com>
+# Contributor: Martin Wimpress <code at flexion.org>
+
+pkgname=blueman
+pkgver=2.1.3
+pkgrel=2
+pkgdesc="GTK+ Bluetooth Manager"
+arch=('x86_64')
+url="https://github.com/blueman-project/blueman"
+license=('GPL')
+depends=('bluez' 'bluez-libs' 'gtk3' 'libnm' 'python-cairo' 'python-gobject')
+makedepends=('cython' 'intltool' 'iproute2')
+optdepends=('dnsmasq: Network Access Point (NAP) support'
+ 'iproute2: Network Access Point (NAP) support'
+ 'networkmanager: Dial Up Networking (DUN) and Personal Area Networking (PAN) support'
+ 'pulseaudio-bluetooth: audio devices support')
+source=(https://github.com/blueman-project/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
+sha256sums=('3bd02e0cc9e2c1424df1fc2015da710a280ef4c657515727e47eafabf8c2cfde')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # Fix path for bluetoothd
+ sed -i 's|/usr/sbin/bluetoothd|/usr/lib/bluetooth/bluetoothd|' apps/blueman-report.in
+
+ # Use correct D-Bus config location
+ sed -i '/^dbusdir =/ s/sysconfdir/datadir/' data/configs/Makefile.{am,in}
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/$pkgname \
+ --disable-schemas-compile \
+ --with-dhcp-config='/etc/dhcpd.conf'
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -d -o root -g 102 -m 750 "$pkgdir/usr/share/polkit-1/rules.d"
+}
More information about the arch-commits
mailing list