[arch-commits] Commit in blueberry/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sun Mar 10 23:49:16 UTC 2019
Date: Sunday, March 10, 2019 @ 23:49:16
Author: bgyorgy
Revision: 439575
upgpkg: blueberry 1.2.5+7+g82682e9-1
Use python 3
Modified:
blueberry/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-10 19:54:20 UTC (rev 439574)
+++ PKGBUILD 2019-03-10 23:49:16 UTC (rev 439575)
@@ -2,28 +2,29 @@
# Contributer: Sam Burgos <jsbm1089 at gmail dot com>
pkgname=blueberry
-pkgver=1.2.5
+pkgver=1.2.5+7+g82682e9
pkgrel=1
pkgdesc="Bluetooth configuration tool"
arch=('any')
url="https://github.com/linuxmint/blueberry"
license=('GPL')
-depends=('bluez-tools' 'gnome-bluetooth' 'python2-dbus' 'python2-gobject' 'python2-setproctitle' 'rfkill')
-source=($pkgname-$pkgver.tar.gz::https://github.com/linuxmint/blueberry/archive/$pkgver.tar.gz)
-sha256sums=('f9bb29a0b3db27c3d1e4d9d82c4b8656422a4ab12d07808cca6b0caaae35550f')
+depends=('bluez-tools' 'gnome-bluetooth' 'python-dbus' 'python-gobject' 'python-setproctitle' 'rfkill')
+makedepends=(git)
+_commit=82682e9ff0d23cd4d3f5258b005f712cf8f5c31f # master
+source=("git+https://github.com/linuxmint/blueberry#commit=$_commit")
+sha256sums=('SKIP')
-prepare() {
- cd $pkgname-$pkgver
- # Python2 fix
- sed -i 's@^#!.*python3$@#!/usr/bin/python2@' usr/bin/blueberry{,-tray}
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
}
build() {
- cd $pkgname-$pkgver
+ cd $pkgname
make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname
cp -r etc usr "$pkgdir"
}
More information about the arch-commits
mailing list