desktop/qsynth/PKGBUILD

30 lines
652 B
Bash
Raw Normal View History

2011-08-07 19:33:28 +08:00
pkgname=qsynth
2017-12-20 08:32:40 +08:00
pkgver=0.5.0
2011-08-07 19:33:28 +08:00
pkgrel=1
pkgdesc="Qt GUI for fluidsynth"
arch=('x86_64')
2011-08-07 19:33:28 +08:00
url="http://qsynth.sourceforge.net/qsynth-index.html"
license=('GPL')
depends=('fluidsynth' 'qt5-base' 'qt5-x11extras')
makedepends=('qt5-tools')
categories=('multimedia')
2016-09-30 23:33:12 +08:00
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
2017-12-20 08:32:40 +08:00
sha1sums=('d24417f89851d53302658116cccb1bad79d6068e')
2016-09-30 23:33:12 +08:00
prepare() {
cd $pkgname-$pkgver
2016-11-17 07:01:04 +08:00
# fix to make .configure recognize Qt>=5.1
export CXXFLAGS="${CXXFLAGS} -std=c++11"
2016-09-30 23:33:12 +08:00
}
2011-08-07 19:33:28 +08:00
build() {
2016-09-30 23:33:12 +08:00
cd $pkgname-$pkgver
2011-08-07 19:33:28 +08:00
./configure --prefix=/usr
make
2011-08-07 19:33:28 +08:00
}
package() {
2016-09-30 23:33:12 +08:00
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install
}