summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Wagner2020-08-27 21:24:38 +0200
committerMartin Wagner2020-08-27 21:24:38 +0200
commit25851f39dc69ddb51b6bf6bbfcbb374fbcefc2f8 (patch)
tree46ae5078c8797d11bad710dd885cad80daf559cc
parentd6871b6ed76ad3c5241fd8a926e1f02fe7a3dbb7 (diff)
downloadaur-25851f39dc69ddb51b6bf6bbfcbb374fbcefc2f8.tar.gz
switched to python based build
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD17
2 files changed, 9 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d7f29ed23f3..9f002274964 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,12 @@
pkgbase = mpdevil-git
pkgdesc = A small MPD client written in python (git version)
- pkgver = v0.8.4.r28.g54e612a
+ pkgver = v0.8.5.r18.g7f83de0
pkgrel = 1
url = https://github.com/SoongNoonien/mpdevil
arch = any
license = GPL3
makedepends = git
- makedepends = intltool
+ makedepends = python-distutils-extra
depends = python-mpd2
depends = gtk3
depends = libnotify
@@ -14,6 +14,7 @@ pkgbase = mpdevil-git
depends = python-requests
depends = python-beautifulsoup4
depends = python-dbus
+ depends = python-setuptools
provides = mpdevil
conflicts = mpdevil
source = git+https://github.com/SoongNoonien/mpdevil.git
diff --git a/PKGBUILD b/PKGBUILD
index a0e99449db3..9874eff3dd5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
# Contributor: Martin Wagner <martin.wagner.dev@gmail.com>
pkgname=mpdevil-git
-pkgver=v0.8.4.r28.g54e612a
+pkgver=v0.8.5.r18.g7f83de0
pkgrel=1
pkgdesc="A small MPD client written in python (git version)"
arch=('any')
license=('GPL3')
url="https://github.com/SoongNoonien/mpdevil"
-depends=('python-mpd2' 'gtk3' 'libnotify' 'python-gobject' 'python-requests' 'python-beautifulsoup4' 'python-dbus')
-makedepends=('git' 'intltool')
+depends=('python-mpd2' 'gtk3' 'libnotify' 'python-gobject' 'python-requests' 'python-beautifulsoup4' 'python-dbus' 'python-setuptools')
+makedepends=('git' 'python-distutils-extra')
provides=('mpdevil')
conflicts=('mpdevil')
source=('git+https://github.com/SoongNoonien/mpdevil.git')
@@ -21,19 +21,14 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare() {
- cd "${srcdir}/${_gitname}"
- NOCONFIGURE=1 ./autogen.sh
-}
-
build() {
cd "${srcdir}/${_gitname}"
- ./configure --prefix=/usr
- make
+ python setup.py build
}
package() {
cd "${srcdir}/${_gitname}"
- make DESTDIR="${pkgdir}" install
+ python setup.py install --prefix=$pkgdir/usr
+ rm "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled" # let pacman compile schemas
}