[arch-commits] Commit in madman/trunk (PKGBUILD)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Jan 27 09:50:37 UTC 2014
Date: Monday, January 27, 2014 @ 10:50:37
Author: spupykin
Revision: 104829
Modified:
madman/trunk/PKGBUILD
----------+
PKGBUILD | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-01-27 09:49:50 UTC (rev 104828)
+++ PKGBUILD 2014-01-27 09:50:37 UTC (rev 104829)
@@ -5,8 +5,8 @@
# Contributor: Zsolt Varadi <sysop_xxl at fibermail.hu>
pkgname=madman
-pkgver=0.94beta1.20060611
-pkgrel=3
+pkgver=0.94beta1.20080906
+pkgrel=1
pkgdesc="I-tunes like music player"
arch=('i686' 'x86_64')
url="http://madman.sourceforge.net/"
@@ -13,15 +13,13 @@
license=('GPL')
depends=('qt3' 'xmms' 'gtk' 'taglib')
makedepends=('python2' 'scons')
-source=(ftp://ftp.archlinux.org/other/community/madman/madman_$pkgver.orig.tar.gz
- ftp://ftp.archlinux.org/other/community/madman/madman_$pkgver-2.diff.gz
+source=(git+http://git.tiker.net/trees/madman.git
ftp://ftp.archlinux.org/other/community/madman/madman.desktop
ftp://ftp.archlinux.org/other/community/madman/madman_logo.png
ftp://ftp.archlinux.org/other/community/madman/madman_logo_mini.png
ftp://ftp.archlinux.org/other/community/madman/madman_logo_large.png
fake-g++.sh)
-md5sums=('36e7a4619ebe83ed939c7ae09c16d535'
- '26de942ae2465fb805748d3bea9a8a17'
+md5sums=('SKIP'
'591354b69235d5a4b5a09591d04db266'
'd4546f77857a6ccdabb2036eb6a0da07'
'2d54bb8eceed283edc88a3e4553d2483'
@@ -28,10 +26,8 @@
'3c2da1b1800fb372e225ae38fa1398e8'
'685a6fb13c861b82950dd6a77fd02120')
-build() {
- cd $srcdir/$pkgname-$pkgver.orig
-
- patch -p1 -i $srcdir/madman_0.94beta1.20060611-2.diff
+prepare() {
+ cd $srcdir/$pkgname
mkdir -p ,build/release/designer
touch ,build/release/designer/tsonglistview.h \
,build/release/designer/tsetlistview.h \
@@ -39,16 +35,19 @@
,build/release/designer/tacceleratorlineedit.h \
,build/release/designer/tsonglistview.h \
,build/release/designer/tsetlistview.h
- sed -i '26,1i#include <memory>' utility/base.h
sed -i 's|python|python2|' designer/make_imagedata httpd/make_webdata doc/update_format_tag
+}
+
+build() {
+ cd $srcdir/$pkgname
+ echo -e '\n\n' | ./configure
install -m755 $srcdir/fake-g++.sh ./g++
export PATH=.:$PATH
-
scons qt_directory=/usr/lib/qt3 add_c_include_dirs=/usr/include/qt3
}
package() {
- cd $srcdir/$pkgname-$pkgver.orig
+ cd $srcdir/$pkgname
scons qt_directory=/usr/lib/qt3 add_c_include_dirs=/usr/include/qt3 \
install_to=$pkgdir/usr prefix=/usr install
More information about the arch-commits
mailing list