summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 12 insertions, 10 deletions
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}
}