mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
59 lines
2.1 KiB
Bash
59 lines
2.1 KiB
Bash
# $Id: PKGBUILD 3567 2009-10-06 08:36:18Z spupykin $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Maintainer: Eric Belanger <belanger@astro.umontreal.ca>
|
|
# Contributor: Hugo Ideler <hugoideler@dse.nl>
|
|
# Contributor: Zsolt Varadi <sysop_xxl@fibermail.hu>
|
|
|
|
pkgname=madman
|
|
pkgver=0.94beta1.20060611
|
|
pkgrel=1
|
|
pkgdesc="I-tunes like music player"
|
|
arch=('i686' 'x86_64')
|
|
url="http://madman.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('qt3' 'xmms' 'libid3tag' 'gtk')
|
|
makedepends=('python')
|
|
source=(http://ftp.de.debian.org/debian/pool/main/m/madman/madman_$pkgver.orig.tar.gz
|
|
http://ftp.de.debian.org/debian/pool/main/m/madman/madman_$pkgver-2.diff.gz
|
|
madman.desktop
|
|
madman_logo.png
|
|
madman_logo_mini.png
|
|
madman_logo_large.png
|
|
fake-g++.sh)
|
|
md5sums=('36e7a4619ebe83ed939c7ae09c16d535'
|
|
'26de942ae2465fb805748d3bea9a8a17'
|
|
'591354b69235d5a4b5a09591d04db266'
|
|
'd4546f77857a6ccdabb2036eb6a0da07'
|
|
'2d54bb8eceed283edc88a3e4553d2483'
|
|
'3c2da1b1800fb372e225ae38fa1398e8'
|
|
'6882bb5e67e6dea45e2f770d899514c5')
|
|
|
|
build() {
|
|
. /etc/profile.d/qt3.sh
|
|
cd $startdir/src/$pkgname-$pkgver.orig
|
|
|
|
patch -p1 -i $srcdir/madman_0.94beta1.20060611-2.diff
|
|
mkdir -p ,build/release/designer
|
|
touch ,build/release/designer/tsonglistview.h \
|
|
,build/release/designer/tsetlistview.h \
|
|
,build/release/designer/tclickablelabel.h \
|
|
,build/release/designer/tacceleratorlineedit.h \
|
|
,build/release/designer/tsonglistview.h \
|
|
,build/release/designer/tsetlistview.h
|
|
sed -i '26,1i#include <memory>' utility/base.h
|
|
cp $srcdir/fake-g++.sh ./g++
|
|
export PATH=.:$PATH
|
|
|
|
scons || return 1
|
|
scons prefix=$startdir/pkg/usr install || return 1
|
|
|
|
rm $startdir/pkg/usr/bin/.sconsign
|
|
rm $startdir/pkg/usr/lib/madman/plugins/.sconsign
|
|
mkdir -p $startdir/pkg/usr/share/{applications,icons}
|
|
mkdir -p $startdir/pkg/usr/share/icons/{mini,large}
|
|
|
|
cp $startdir/src/madman_logo.png $startdir/pkg/usr/share/icons
|
|
cp $startdir/src/madman_logo_mini.png $startdir/pkg/usr/share/icons/mini
|
|
cp $startdir/src/madman_logo_large.png $startdir/pkg/usr/share/icons/large
|
|
cp $startdir/src/madman.desktop $startdir/pkg/usr/share/applications
|
|
}
|