summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-29 17:03:16 +0100
committerJaroslav Lichtblau2014-11-29 17:03:16 +0100
commit136a8ea41ae3da9ff71d299af05e6010aac51303 (patch)
treec544fdc7241345a3367be4384108b9f85a969087
parenta9f49c28005b7efcf89548bbaaca4a25cfe7f56b (diff)
downloadaur-gnopaster.tar.gz
gnopaster-0.0.9-2
PKGBUILD format update
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD22
2 files changed, 15 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 97bc6550ae5..9c89a2384fc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
pkgbase = gnopaster
- pkgdesc = gnopaste's submitter
+ pkgdesc = Free pastebin programm for http://nopaste.info
pkgver = 0.0.9
pkgrel = 2
url = http://gnopaste.sourceforge.net/
- arch = i686
- arch = x86_64
+ arch = any
license = GPL
- depends = perl
depends = perl-libwww
depends = perl-config-simple
- source = http://dl.sourceforge.net/sourceforge/gnopaste/gnopaster-0.0.9.pl.gz
+ source = http://nopaste.info/apps/gnopaster-0.0.9.pl.gz
md5sums = f4dc2382fb96feb8894f1f8c346c5987
pkgname = gnopaster
diff --git a/PKGBUILD b/PKGBUILD
index a93d5d53252..dc93287a9db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,18 @@
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Thomas Boerger <devel@ghcif.de>
+
pkgname=gnopaster
pkgver=0.0.9
pkgrel=2
-pkgdesc="gnopaste's submitter"
+pkgdesc="Free pastebin programm for http://nopaste.info"
+arch=('any')
url="http://gnopaste.sourceforge.net/"
-depends=("perl" "perl-libwww"
- "perl-config-simple")
-arch=("i686" "x86_64")
-license=("GPL")
-source=("http://dl.sourceforge.net/sourceforge/gnopaste/${pkgname}-${pkgver}.pl.gz")
-md5sums=("f4dc2382fb96feb8894f1f8c346c5987")
-
-build() {
- install -Dm 755 ${startdir}/src/${pkgname}-${pkgver}.pl ${startdir}/pkg/usr/bin/${pkgname} || return 1
+license=('GPL')
+depends=('perl-libwww' 'perl-config-simple')
+source=(http://nopaste.info/apps/$pkgname-$pkgver.pl.gz)
+md5sums=('f4dc2382fb96feb8894f1f8c346c5987')
+
+package() {
+ cd "${srcdir}"
+ install -Dm755 ${pkgname}-${pkgver}.pl "${pkgdir}"/usr/bin/${pkgname}
}