summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
2 files changed, 9 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e840dc6cd67..bfbebe34920 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,12 +2,12 @@ pkgbase = flactagger
pkgdesc = A Ruby script for tagging FLAC files
pkgver = 3.1.1
pkgrel = 1
- url = http://flactagger.berlios.de/
+ url = http://sourceforge.net/projects/flactagger.berlios
arch = any
license = GPL3
depends = ruby
depends = flac
- source = http://download.berlios.de/flactagger/flactagger-3.1.1.tar.bz2
+ source = http://sourceforge.net/projects/flactagger.berlios/files/flactagger-3.1.1.tar.bz2
md5sums = 72282bb6b0b7a29249f9193795cd6d6e
pkgname = flactagger
diff --git a/PKGBUILD b/PKGBUILD
index 6b2f999981f..486f26c4193 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,17 +5,16 @@ pkgver=3.1.1
pkgrel=1
pkgdesc="A Ruby script for tagging FLAC files"
arch=('any')
-url="http://flactagger.berlios.de/"
+url="http://sourceforge.net/projects/flactagger.berlios"
license=('GPL3')
depends=('ruby' 'flac')
-source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.bz2)
-
+source=(http://sourceforge.net/projects/flactagger.berlios/files/$pkgname-$pkgver.tar.bz2)
md5sums=('72282bb6b0b7a29249f9193795cd6d6e')
-build() {
- cd ${srcdir}/$pkgname-$pkgver
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
- ruby setup.rb config || return 1
- ruby setup.rb setup || return 1
- ruby setup.rb install --prefix=${pkgdir} || return 1
+ ruby setup.rb config
+ ruby setup.rb setup
+ ruby setup.rb install --prefix="${pkgdir}"
}