summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-19 00:01:30 +0000
committerroot <root@rshg054.dnsready.net>2012-04-19 00:01:30 +0000
commitfe675be3a5f22b4397ea55959bb3c47b4c1b8288 (patch)
tree2d8d385678576c75dc561c6fc2c194df7aad2b9b /community
parent637c1cfdcd258a870ad5367cbf47a8a2799039c7 (diff)
Thu Apr 19 00:01:30 UTC 2012
Diffstat (limited to 'community')
-rw-r--r--community/cppcheck/PKGBUILD6
-rw-r--r--community/deja-dup/PKGBUILD6
-rw-r--r--community/fwbuilder/PKGBUILD31
-rw-r--r--community/fwbuilder/fwbuilder-gcc47.patch13
-rw-r--r--community/fwbuilder/fwbuilder.install12
-rw-r--r--community/keepalived/PKGBUILD13
-rw-r--r--community/keepalived/keepalived.service9
-rw-r--r--community/libcryptui/PKGBUILD6
-rw-r--r--community/mlt/PKGBUILD22
-rw-r--r--community/odt2txt/PKGBUILD21
-rw-r--r--community/ted/PKGBUILD26
-rw-r--r--community/ucarp/PKGBUILD29
-rw-r--r--community/ucarp/ucarp.conf2
-rw-r--r--community/ucarp/ucarp.rc1
-rw-r--r--community/ucarp/ucarp.service9
-rw-r--r--community/zynaddsubfx/PKGBUILD33
16 files changed, 177 insertions, 62 deletions
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
index 4d17051c1..67c869c37 100644
--- a/community/cppcheck/PKGBUILD
+++ b/community/cppcheck/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 65291 2012-02-20 15:31:22Z stephane $
+# $Id: PKGBUILD 69536 2012-04-18 02:12:09Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
-pkgver=1.53
+pkgver=1.54
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@ license=('GPL')
depends=('pcre')
makedepends=('docbook-xsl')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('e1c8431cab1ef07c725f1556bdb0fc5d3e912c9f')
+sha1sums=('f63abbd9bda7179c3ce3a399123bd7fb476e4537')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/deja-dup/PKGBUILD b/community/deja-dup/PKGBUILD
index 53062db49..76e4f4d65 100644
--- a/community/deja-dup/PKGBUILD
+++ b/community/deja-dup/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 68348 2012-03-22 18:06:16Z bgyorgy $
+# $Id: PKGBUILD 69507 2012-04-17 14:32:37Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=deja-dup
-pkgver=22.0
+pkgver=22.1
pkgrel=1
pkgdesc="Simple backup tool, that hides the complexity of backing up the Right Way and uses duplicity as the backend"
arch=('i686' 'x86_64')
@@ -14,7 +14,7 @@ optdepends=('nautilus: backup extension')
options=('!libtool')
install=$pkgname.install
source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz)
-md5sums=('b8a71a26cdf3c460a9e5104212527d29')
+md5sums=('cbf7af6f0392ab9ef355a3aeb74c8a79')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/fwbuilder/PKGBUILD b/community/fwbuilder/PKGBUILD
new file mode 100644
index 000000000..ae559607c
--- /dev/null
+++ b/community/fwbuilder/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id
+# Maintainer: Kevin Piche <kevin@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=fwbuilder
+pkgver=5.1.0.3599
+pkgrel=1
+pkgdesc="Object-oriented GUI and set of compilers for various firewall platforms"
+url="http://www.fwbuilder.org/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libxslt' 'net-snmp' 'qt')
+conflicts=('libfwbuilder')
+install=fwbuilder.install
+source=("http://sourceforge.net/projects/fwbuilder/files/Current_Packages/${pkgver%.*}/fwbuilder-${pkgver}.tar.gz"
+ 'fwbuilder-gcc47.patch')
+sha256sums=('452514a1ec0be1416bfca93603e6c89deb91d1a3a19671c64b5a8868a3743daf'
+ 'd7c602d5b99c6e40403c0b02e34abf15de83802257ca5ce80ad53d486b692f27')
+
+build() {
+ cd "${srcdir}/fwbuilder-${pkgver}"
+ patch -p1 -i "$srcdir/fwbuilder-gcc47.patch"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/fwbuilder-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+}
diff --git a/community/fwbuilder/fwbuilder-gcc47.patch b/community/fwbuilder/fwbuilder-gcc47.patch
new file mode 100644
index 000000000..59cd64a6f
--- /dev/null
+++ b/community/fwbuilder/fwbuilder-gcc47.patch
@@ -0,0 +1,13 @@
+Only in fwbuilder-5.0.1.3592: patches
+Only in fwbuilder-5.0.1.3592: .pc
+diff -upr fwbuilder-5.0.1.3592/src/libfwbuilder/src/fwbuilder/ThreadTools.h /var/tmp/build-root/home/abuild/rpmbuild/BUILD/fwbuilder-5.0.1.3592/src/libfwbuilder/src/fwbuilder/ThreadTools.h
+--- fwbuilder-5.0.1.3592/src/libfwbuilder/src/fwbuilder/ThreadTools.h 2011-12-08 02:02:07.000000000 +0100
++++ /var/tmp/build-root/home/abuild/rpmbuild/BUILD/fwbuilder-5.0.1.3592/src/libfwbuilder/src/fwbuilder/ThreadTools.h 2012-03-17 22:29:16.317275376 +0100
+@@ -31,6 +31,7 @@
+
+ #include <time.h> //for time_t definition
+ #include <pthread.h>
++#include <unistd.h>
+
+ #include <string>
+ #include <queue>
diff --git a/community/fwbuilder/fwbuilder.install b/community/fwbuilder/fwbuilder.install
new file mode 100644
index 000000000..45f0c2242
--- /dev/null
+++ b/community/fwbuilder/fwbuilder.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
diff --git a/community/keepalived/PKGBUILD b/community/keepalived/PKGBUILD
index ad7fa29f4..0652947d2 100644
--- a/community/keepalived/PKGBUILD
+++ b/community/keepalived/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id$
+# $Id: PKGBUILD 69505 2012-04-17 12:51:53Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=keepalived
pkgver=1.2.2
-pkgrel=3
+pkgrel=4
pkgdesc='Failover and monitoring daemon for LVS clusters'
arch=('i686' 'x86_64')
url='http://www.keepalived.org/'
@@ -13,10 +13,12 @@ backup=('etc/keepalived/keepalived.conf' 'etc/conf.d/keepalived')
depends=('openssl' 'popt' 'libnl1')
source=("http://www.keepalived.org/software/$pkgname-$pkgver.tar.gz"
'keepalived.rc'
+ 'keepalived.service'
'keepalived.conf'
'ip_vs_moved.patch')
md5sums=('f68327ca142616a8463d2d105db122cd'
'baeb62a682c2b59d732cea84bf52cc87'
+ '7a327df915700dcd45a049d099c9c42b'
'9c8142da8730ad27a345587dea83ced7'
'87ee19c85adaedd3eb11bea8a5865d47')
@@ -37,8 +39,11 @@ package() {
mv "$pkgdir/etc/keepalived/samples" "$pkgdir/usr/share/$pkgname/samples"
# add initscripts
- install -D -m 755 ../$pkgname.rc "${pkgdir}/etc/rc.d/$pkgname"
- install -D -m 644 ../$pkgname.conf "${pkgdir}/etc/conf.d/$pkgname"
+ cd ..
+ install -D -m 755 $pkgname.rc "$pkgdir/etc/rc.d/$pkgname"
+ install -D -m 644 $pkgname.conf "$pkgdir/etc/conf.d/$pkgname"
+ install -D -m 644 $pkgname.service \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
}
diff --git a/community/keepalived/keepalived.service b/community/keepalived/keepalived.service
new file mode 100644
index 000000000..c20f18695
--- /dev/null
+++ b/community/keepalived/keepalived.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Keepalive Daemon
+
+[Service]
+EnvironmentFile=/etc/conf.d/keepalived
+ExecStart=/usr/sbin/keepalived --dont-fork $DAEMON_OPTS
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/libcryptui/PKGBUILD b/community/libcryptui/PKGBUILD
index 3e015cecf..cae4d802c 100644
--- a/community/libcryptui/PKGBUILD
+++ b/community/libcryptui/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 69329 2012-04-13 22:06:22Z bgyorgy $
+# $Id: PKGBUILD 69509 2012-04-17 14:38:21Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=libcryptui
-pkgver=3.4.0
+pkgver=3.4.1
pkgrel=1
pkgdesc="Library for OpenPGP prompts"
arch=('i686' 'x86_64')
@@ -13,7 +13,7 @@ makedepends=('intltool' 'gobject-introspection')
options=('!libtool')
install=$pkgname.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('23e84fd9e733e58bd1640b229cfc35830287628125f0f15604ea6aecd606fac7')
+sha256sums=('fad4addf5c5b6588f492a720edce59f925190e4cdf3672984f53b25327f10fd5')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/mlt/PKGBUILD b/community/mlt/PKGBUILD
index bb3e9d023..558e6dd11 100644
--- a/community/mlt/PKGBUILD
+++ b/community/mlt/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 65327 2012-02-21 01:36:41Z spupykin $
+# $Id: PKGBUILD 69518 2012-04-17 19:42:41Z ebelanger $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Fabian Schoelzel <myfirstname.mylastname@googlemail.com>
# Contributor: funkyou <spamopfer@nickname.berlin.de>
@@ -8,7 +8,7 @@
pkgbase=mlt
pkgname=('mlt' 'mlt-python-bindings')
pkgver=0.7.8
-pkgrel=1
+pkgrel=2
pkgdesc="An open source multimedia framework"
arch=('i686' 'x86_64')
url="http://www.mltframework.org"
@@ -20,7 +20,7 @@ md5sums=('4bdce45d832e065ac4c8c8ca56765e1d')
build() {
# mlt
- cd $srcdir/mlt-$pkgver
+ cd "$srcdir/mlt-$pkgver"
# [ $CARCH == "i686" ] && SSE2=--disable-sse2 || SSE2=
SSE2=--disable-sse2
@@ -33,7 +33,7 @@ build() {
make
# mlt python bindings
- cd $srcdir/mlt-$pkgver/src/swig/python
+ cd "$srcdir/mlt-$pkgver/src/swig/python"
sed -i 's_path=`which python_path=`which python2_' build
sed -i 's_`python -c_`python2 -c_' build
sed -i 's#python-config#python2-config#' build
@@ -45,16 +45,16 @@ package_mlt() {
optdepends=('jack' 'libexif' 'qt' 'gtk2' "ladspa")
conflicts=('mlt++<=0.3.8')
- cd $srcdir/mlt-$pkgver
- make DESTDIR=$pkgdir install
+ cd "$srcdir/mlt-$pkgver"
+ make DESTDIR="$pkgdir" install
}
package_mlt-python-bindings() {
depends=('python2' 'mlt')
- cd $srcdir/mlt-$pkgver/src/swig/python
- mkdir -p $pkgdir/usr/lib/python2.7/
- install -m755 mlt.py $pkgdir/usr/lib/python2.7/
- install -m755 _mlt.so $pkgdir/usr/lib/python2.7/
- install -m755 mlt_wrap.o $pkgdir/usr/lib/python2.7/
+ cd "$srcdir/mlt-$pkgver/src/swig/python"
+ mkdir -p "$pkgdir/usr/lib/python2.7/"
+ install -m755 mlt.py "$pkgdir/usr/lib/python2.7/"
+ install -m755 _mlt.so "$pkgdir/usr/lib/python2.7/"
+ install -m755 mlt_wrap.o "$pkgdir/usr/lib/python2.7/"
}
diff --git a/community/odt2txt/PKGBUILD b/community/odt2txt/PKGBUILD
new file mode 100644
index 000000000..8ff16fba4
--- /dev/null
+++ b/community/odt2txt/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 69493 2012-04-17 10:36:52Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Vladimir Chizhov <jagoterr@gmail.com>
+
+pkgname=odt2txt
+pkgver=0.4
+pkgrel=1
+pkgdesc="extracts the text out of OpenDocument Texts"
+url="http://stosberg.net/odt2txt/"
+license=("GPL2")
+arch=('i686' 'x86_64')
+depends=('zlib')
+source=(http://stosberg.net/odt2txt/$pkgname-$pkgver.tar.gz)
+md5sums=('6fe3bd261ce2dde2810244bbe969bbc5')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make
+ install -Dm755 odt2txt $pkgdir/usr/bin/odt2txt
+ install -Dm644 odt2txt.1 $pkgdir/usr/share/man/man1/odt2txt.1
+}
diff --git a/community/ted/PKGBUILD b/community/ted/PKGBUILD
index 770a39bd4..3b3b2b57c 100644
--- a/community/ted/PKGBUILD
+++ b/community/ted/PKGBUILD
@@ -1,36 +1,40 @@
-# $Id: PKGBUILD 64361 2012-02-11 23:24:27Z allan $
+# $Id: PKGBUILD 69512 2012-04-17 16:00:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=ted
-pkgver=2.21
-pkgrel=5
+pkgver=2.22
+pkgrel=1
pkgdesc="An easy rich text processor (with footnote support)"
arch=('i686' 'x86_64')
url="http://www.nllgg.nl/Ted/"
depends=('bash' 'libtiff' 'libxmu' 'libxpm' 'libpng' 'gtk2')
license=('GPL')
-source=(ftp://ftp.nluug.nl/pub/editors/$pkgname/$pkgname-$pkgver.src.tar.gz
+source=(ftp://ftp.nluug.nl/pub/editors/$pkgname/$pkgname-$pkgver.src.tar.gz
ted-2.21-libpng15.patch)
-md5sums=('34ae855938a3b364eb587cca504ba356'
+md5sums=('08162c9164dfdde1d46e41ae64df16be'
'0c339b0fa7aec6b150e07e9027cd360c')
build() {
cd "$srcdir/Ted-$pkgver"
sed -i "s|--with-GTK|--with-GTK --prefix=/usr/share|g" Makefile
- patch -p0 -i ../ted-2.21-libpng15.patch
make compile.shared
make package.shared
}
package() {
- cd "$srcdir/Ted-$pkgver"
- mkdir -p "$pkgdir/usr/share/"
- cd "$pkgdir/usr/share/"
- tar -zxvf "$srcdir/Ted-$pkgver/tedPackage/ted-$pkgver-linux-$CARCH.tar.gz"
+ # unpack package
+ mkdir -p $pkgdir/usr/share
+ cd "$pkgdir/usr/share"
+ tar xzf $srcdir/Ted-$pkgver/tedPackage/*.tar.gz
+ # move bin/* and share/*
mv bin ../
- mkdir -p "$pkgdir/usr/share/man/man1"
+ mv share/* ./
+ rmdir share
+ # move man pages
cd "$pkgdir/usr/share/Ted/"
+ mkdir -p "$pkgdir/usr/share/man/man1"
mv Ted.1 rtf2pdf.1 rtf2ps.1 ../../share/man/man1/
+ # fix shell script and move them to /usr/bin
sed -i "s|usr/local/afm|usr/share/Ted/afm|g" gsafm.sh
mv *.sh "$pkgdir/usr/bin/"
}
diff --git a/community/ucarp/PKGBUILD b/community/ucarp/PKGBUILD
index 9b2d22f94..90158ebc1 100644
--- a/community/ucarp/PKGBUILD
+++ b/community/ucarp/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id$
+# $Id: PKGBUILD 69498 2012-04-17 12:05:31Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgname=ucarp
pkgver=1.5.2
-pkgrel=2
+pkgrel=3
pkgdesc='UCARP is a portable implementation of the CARP protocol'
arch=('i686' 'x86_64')
url='http://www.ucarp.org/project/ucarp'
license=('GPL2')
depends=('libpcap')
optdepends=('iproute2')
+backup=('etc/conf.d/ucarp')
source=("http://download.pureftpd.org/pub/ucarp/ucarp-$pkgver.tar.gz"
'ucarp.rc'
'ucarp.conf'
+ 'ucarp.service'
'ucarp.8'
'01-fix-getopt.patch'
'02-fix-downscript-on-error.c')
md5sums=('e3caa733316a32c09e5d3817617e9145'
- 'd941d2978c5b43154a29212115729519'
- '9b27f0cf552511716b1ce3678b7a77ca'
+ '11675170473c7e11131d90c3d64ff333'
+ '79c01b9ba580d2431997efb9df59cf5d'
+ '582d59cd969b6447a710f58bbaf28846'
'05b64a5daeb7aab45a2a59e0f4d83c8f'
'3f20699aaf2ef8139dcd337f1e7f06ab'
'09d26233c37956cf08e629554a91b8cd')
@@ -37,13 +40,6 @@ build() {
}
package() {
- # add initscripts
- install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname"
- install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname"
-
- # add manpage
- install -D -m 644 $pkgname.8 "${pkgdir}/usr/share/man/man8/$pkgname.8"
-
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
@@ -55,6 +51,17 @@ package() {
# install README
install -D -m 644 README "$pkgdir/usr/share/doc/$pkgname/README"
+
+ # add initscripts
+ cd ..
+ install -D -m 755 $pkgname.rc "${pkgdir}/etc/rc.d/$pkgname"
+ install -D -m 644 $pkgname.conf "${pkgdir}/etc/conf.d/$pkgname"
+ install -D -m 644 $pkgname.service \
+ "${pkgdir}/usr/lib/systemd/system/$pkgname.service"
+
+ # add manpage
+ install -D -m 644 $pkgname.8 "${pkgdir}/usr/share/man/man8/$pkgname.8"
+
}
# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/ucarp/ucarp.conf b/community/ucarp/ucarp.conf
index 386c1df8f..1fb8eae07 100644
--- a/community/ucarp/ucarp.conf
+++ b/community/ucarp/ucarp.conf
@@ -1,3 +1,3 @@
# vim:set ts=2 sw=2 ft=sh noet:
-DAEMON_OPTS='--daemonize --interface=eth0 --srcip=10.1.1.1 --vhid=1 --pass=mypassword --addr=10.1.1.252 --upscript=/usr/local/sbin/vip-up.sh --downscript=/usr/local/sbin/vip-down.sh'
+DAEMON_OPTS='--interface=eth0 --srcip=10.1.1.1 --vhid=1 --pass=mypassword --addr=10.1.1.252 --upscript=/usr/local/sbin/vip-up.sh --downscript=/usr/local/sbin/vip-down.sh'
diff --git a/community/ucarp/ucarp.rc b/community/ucarp/ucarp.rc
index 33f40268f..f8c9d54f3 100644
--- a/community/ucarp/ucarp.rc
+++ b/community/ucarp/ucarp.rc
@@ -7,6 +7,7 @@
NAME=ucarp
DAEMON=/usr/sbin/ucarp
PID=$(pidof -o %PPID $DAEMON)
+DAEMON_OPTS="--daemonize $DAEMON_OPTS"
case "$1" in
start)
diff --git a/community/ucarp/ucarp.service b/community/ucarp/ucarp.service
new file mode 100644
index 000000000..d4afd4d0d
--- /dev/null
+++ b/community/ucarp/ucarp.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=UCARP daemon
+
+[Service]
+EnvironmentFile=/etc/conf.d/ucarp
+ExecStart=/usr/sbin/ucarp $DAEMON_OPTS
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/zynaddsubfx/PKGBUILD b/community/zynaddsubfx/PKGBUILD
index a1488fcd8..5469f3265 100644
--- a/community/zynaddsubfx/PKGBUILD
+++ b/community/zynaddsubfx/PKGBUILD
@@ -1,36 +1,39 @@
-# $Id: PKGBUILD 66272 2012-02-23 07:06:41Z spupykin $
+# $Id: PKGBUILD 69533 2012-04-17 22:54:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: SpepS <dreamspepser at yahoo dot it>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: DonVla <donvla@users.sourceforge.net>
pkgname=zynaddsubfx
-pkgver=2.4.1
-pkgrel=7
-pkgdesc="An opensource software synthesizer capable of making a countless number of instruments."
+pkgver=2.4.2
+pkgrel=1
+pkgdesc="Opensource software synthesizer capable of making a countless number of instruments."
arch=('i686' 'x86_64')
url="http://zynaddsubfx.sourceforge.net"
license=('GPL')
depends=('fltk' 'libgl' 'fftw' 'lash' 'mxml')
-makedepends=('cmake' 'pkgconfig' 'mesa')
+makedepends=('cmake' 'pkgconfig' 'mesa' 'setconf' 'gendesk')
options=('!emptydirs')
source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/ZynAddSubFX-$pkgver.tar.bz2"
- "$pkgname.desktop"
- "$pkgname.svg"
"http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk.patch"
- "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch")
-md5sums=('59eb69ce24d6f8c605f8ba43958d0526'
- '5da6735ee59fdfa21f171fdc4d6c80cb'
- '6f7e9c3ce3947088a10c99c46a65431f'
+ "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch"
+ "$pkgname.svg")
+md5sums=('4e1f15fd872f5cc649fc2217676e248e'
'eb95d339ff5deac8c6b54965f04a8c60'
- '49464a33ab9c4250520eda0df7705663')
+ '49464a33ab9c4250520eda0df7705663'
+ '6f7e9c3ce3947088a10c99c46a65431f')
build() {
- cd "$srcdir/ZynAddSubFX-$pkgver"
+ cd "$srcdir"
+ gendesk
+ setconf "$pkgname.desktop" Icon "$pkgname.svg"
+
+ cd "ZynAddSubFX-$pkgver"
# patches
- patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk.patch"
- patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk13.patch"
+# patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk.patch"
+# patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk13.patch"
+ sed -i '1,1i#include <unistd.h>' src/Nio/NulEngine.cpp
[ -d build ] || mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DOutputModule=jack -DGuiModule=fltk ..