summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/fuzemux-svn/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-04 00:11:41 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-04 00:11:41 (GMT)
commit076d04e53b2abd395dc11399af2875c4fe546dcf (patch)
tree9f13bafa5477216c1366da07c25b9769551a0be0 /abs/extra/community/fuzemux-svn/PKGBUILD
parent531c6d5528d441bf8bd0e366cd3d5951aab70374 (diff)
downloadlinhes_pkgbuild-076d04e53b2abd395dc11399af2875c4fe546dcf.zip
linhes_pkgbuild-076d04e53b2abd395dc11399af2875c4fe546dcf.tar.gz
linhes_pkgbuild-076d04e53b2abd395dc11399af2875c4fe546dcf.tar.bz2
fuzemux-svn: recompile and rename dir from "fuzemux" to "fuzemux-svn"
Diffstat (limited to 'abs/extra/community/fuzemux-svn/PKGBUILD')
-rw-r--r--abs/extra/community/fuzemux-svn/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/abs/extra/community/fuzemux-svn/PKGBUILD b/abs/extra/community/fuzemux-svn/PKGBUILD
new file mode 100644
index 0000000..1acc914
--- /dev/null
+++ b/abs/extra/community/fuzemux-svn/PKGBUILD
@@ -0,0 +1,41 @@
+# Contributor: Michael Hanson <hansonorders@verizon.net>
+# Maintainer: Michael Hanson <hansonorders@verizon.net>
+pkgname=fuzemux-svn
+pkgver=11
+pkgrel=2
+pkgdesc="A tool to remux AVI video files for the San Disk Sansa Fuze portable media player"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/fuzemux"
+license=('GPL3')
+#depends=()
+makedepends=('subversion' 'autoconf')
+provides=('fuzemux')
+install=('fuzemux-svn.install')
+
+_svntrunk=http://fuzemux.googlecode.com/svn/trunk/
+_svnmod=fuzemux
+
+build() {
+ cd "$srcdir"
+
+ if [ -d $_svnmod/.svn ]; then
+ (cd $_svnmod && svn up -r $pkgver)
+ else
+ svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
+ fi
+
+ msg "SVN checkout done or server timeout"
+ msg "Starting make..."
+
+ rm -rf "$srcdir/$_svnmod-build"
+ cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
+ cd "$srcdir/$_svnmod-build"
+
+ #
+ # BUILD
+ #
+ /usr/bin/autoreconf --install
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR="$pkgdir/" install
+}