summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-12-01 18:00:09 +0100
committerJaroslav Lichtblau2014-12-01 18:00:09 +0100
commitb641b1676b828a48894dd1f9c6ff85a40dccddd8 (patch)
tree9a6a35091adc1141faa86b38ee40ac08a6488446
parentf0137f647c5c52fa3ed0fb7a5e82a7a0f28cc5b6 (diff)
downloadaur-b641b1676b828a48894dd1f9c6ff85a40dccddd8.tar.gz
flactagger-3.1.1-1
-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}"
}