summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0c4a5c3db8f99b61c0acb75fb645ff20ab78eece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
pkgname=soundconverter-git
pkgver=4.0.3+12+gf1611d6
pkgrel=1
pkgdesc="A simple sound converter application for GNOME"
arch=('any')
url="http://soundconverter.org/"
license=('GPL3')
depends=('python-gobject' 'gst-python' 'gst-plugins-ugly' 'gst-plugins-good')
makedepends=('git' 'python-distutils-extra')
provides=('soundconverter')
conflicts=('soundconverter')
source=("git+https://github.com/kassoulet/soundconverter.git")
md5sums=('SKIP')
_gitname="soundconverter"

pkgver() {
	cd "$srcdir"/"$_gitname"
	git describe --tags | sed 's/-/+/g'
}

build() {
	cd "$srcdir"/"$_gitname"
	python setup.py build
}

package() {
	cd "$srcdir/$_gitname"
	python setup.py install --prefix="$pkgdir/usr"
	rm "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled"
}