summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-29 17:13:44 +0100
committerJaroslav Lichtblau2014-11-29 17:13:44 +0100
commitae9e1e01ca173d55e4b7e2d1616ab41b738bb919 (patch)
treefde3f796c4c82bfe5390608054a5910b56098493
parenta3fa4a00fed3b4f6011b70aff129906ad2f40aef (diff)
downloadaur-ae9e1e01ca173d55e4b7e2d1616ab41b738bb919.tar.gz
nzbperl-0.6.8-2
-rw-r--r--.SRCINFO12
-rwxr-xr-xPKGBUILD30
2 files changed, 24 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7a04eb31893..9a2dff1c3d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = nzbperl
- pkgdesc = nzb based nntp/usenet downloader in perl
+ pkgdesc = NZB based nntp/usenet downloader in perl
pkgver = 0.6.8
- pkgrel = 1
+ pkgrel = 2
url = http://noisybox.net/computers/nzbperl/
- arch = i686
- arch = x86_64
+ arch = any
license = GPL
depends = perl-term-readkey
- depends = perl-xml-dom
- depends = uudeview
+ depends = perl-xml-dom uudeview
source = http://noisybox.net/computers/nzbperl/nzbperl-0.6.8.pl
+ source = http://noisybox.net/computers/nzbperl/nzbperlrc.sample
md5sums = 70e64b7cd4ff9c7c098bf8dffeb62578
+ md5sums = b5ec89f58637d4ec34fcbab53065e1c5
pkgname = nzbperl
diff --git a/PKGBUILD b/PKGBUILD
index bbfee0020a2..8264779d3c8 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,22 @@
-#Contributor: Xavier Vierling <xavierling@free.fr>
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Xavier Vierling <xavierling@free.fr>
+
pkgname=nzbperl
pkgver=0.6.8
-pkgrel=1
-pkgdesc="nzb based nntp/usenet downloader in perl"
-arch=('i686' 'x86_64')
+pkgrel=2
+pkgdesc="NZB based nntp/usenet downloader in perl"
+arch=('any')
url="http://noisybox.net/computers/nzbperl/"
-license="GPL"
-depends=(perl-term-readkey perl-xml-dom uudeview)
-source=(http://noisybox.net/computers/nzbperl/$pkgname-$pkgver.pl)
-md5sums=('70e64b7cd4ff9c7c098bf8dffeb62578')
+license=('GPL')
+depends=('perl-term-readkey' 'perl-xml-dom uudeview')
+source=(http://noisybox.net/computers/nzbperl/$pkgname-$pkgver.pl
+ http://noisybox.net/computers/nzbperl/nzbperlrc.sample)
+md5sums=('70e64b7cd4ff9c7c098bf8dffeb62578'
+ 'b5ec89f58637d4ec34fcbab53065e1c5')
+
+package() {
+ cd "${srcdir}"
-build() {
- cd $startdir/src
- install -D nzbperl-$pkgver.pl $startdir/pkg/usr/bin/nzbperl
-} \ No newline at end of file
+ install -D $pkgname-$pkgver.pl "${pkgdir}"/usr/bin/$pkgname
+ install -D nzbperlrc.sample "${pkgdir}"/usr/share/doc/$pkgname/nzbperlrc.sample
+}