Last active
August 15, 2020 22:12
-
-
Save sezanzeb/6b6be9feb5b0cd9f4519ff1c71173728 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=soundconverter-git | |
pkgver=3.0.0+beta1+1+g9919e80 | |
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' 'desktop-file-utils' '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" | |
python3 setup.py build | |
} | |
package() { | |
cd "$srcdir"/"$_gitname" | |
python3 setup.py install --prefix=$pkgdir/usr | |
# pacman will compile schemas via a hook once placed into /usr, | |
# don't let the setup.py script do it | |
rm $pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment