From b9cee6d3b1fbfe57a87753fe34c8cde112242ea3 Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Wed, 17 Aug 2011 23:53:38 +0000
Subject: fuzemux: update to 0.1.2 ; remove fuzemux-svn

---
 abs/extra/community/fuzemux-svn/PKGBUILD           | 41 ----------------------
 .../community/fuzemux-svn/fuzemux-svn.install      |  5 ---
 abs/extra/community/fuzemux/PKGBUILD               | 26 ++++++++++++++
 abs/extra/community/fuzemux/fuzemux.install        |  5 +++
 4 files changed, 31 insertions(+), 46 deletions(-)
 delete mode 100644 abs/extra/community/fuzemux-svn/PKGBUILD
 delete mode 100644 abs/extra/community/fuzemux-svn/fuzemux-svn.install
 create mode 100644 abs/extra/community/fuzemux/PKGBUILD
 create mode 100644 abs/extra/community/fuzemux/fuzemux.install

diff --git a/abs/extra/community/fuzemux-svn/PKGBUILD b/abs/extra/community/fuzemux-svn/PKGBUILD
deleted file mode 100644
index 1acc914..0000000
--- a/abs/extra/community/fuzemux-svn/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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
-}
diff --git a/abs/extra/community/fuzemux-svn/fuzemux-svn.install b/abs/extra/community/fuzemux-svn/fuzemux-svn.install
deleted file mode 100644
index 877ec1b..0000000
--- a/abs/extra/community/fuzemux-svn/fuzemux-svn.install
+++ /dev/null
@@ -1,5 +0,0 @@
-post_install() {
-	echo ">>>"
-	echo ">>> A user job script is supplied at /usr/LH/bin/myth2fuze"
-	echo ">>>"
-}
diff --git a/abs/extra/community/fuzemux/PKGBUILD b/abs/extra/community/fuzemux/PKGBUILD
new file mode 100644
index 0000000..aa542a5
--- /dev/null
+++ b/abs/extra/community/fuzemux/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: Michael Hanson <hansonorders@verizon.net>
+# Maintainer: Michael Hanson <hansonorders@verizon.net>
+pkgname=fuzemux
+pkgver=0.1.2
+pkgrel=1
+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=('cc-by-sa-3.0')
+source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}-fixed.tar.gz")
+provides=('fuzemux')
+replaces=('fuzemux-svn')
+install=fuzemux.install
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr
+  make || return 1
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir}/ install
+}
+md5sums=('6c7323e9b98620b39644e4d652b3f8ad')
diff --git a/abs/extra/community/fuzemux/fuzemux.install b/abs/extra/community/fuzemux/fuzemux.install
new file mode 100644
index 0000000..877ec1b
--- /dev/null
+++ b/abs/extra/community/fuzemux/fuzemux.install
@@ -0,0 +1,5 @@
+post_install() {
+	echo ">>>"
+	echo ">>> A user job script is supplied at /usr/LH/bin/myth2fuze"
+	echo ">>>"
+}
-- 
cgit v0.12

