summaryrefslogtreecommitdiff
path: root/community/gendesk
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-31 00:01:07 +0000
committerroot <root@rshg054.dnsready.net>2012-03-31 00:01:07 +0000
commit977b78df305a06797773799a7295f2a5f3f013cf (patch)
treec2cad20a10da5fe8f8784db13a2d52b80d0199a3 /community/gendesk
parent263884f95012e159a0be10444ef96bbf56e70545 (diff)
Sat Mar 31 00:01:07 UTC 2012
Diffstat (limited to 'community/gendesk')
-rw-r--r--community/gendesk/PKGBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/community/gendesk/PKGBUILD b/community/gendesk/PKGBUILD
index d5f5589f0..85d8c6f48 100644
--- a/community/gendesk/PKGBUILD
+++ b/community/gendesk/PKGBUILD
@@ -1,41 +1,34 @@
-# $Id: PKGBUILD 68578 2012-03-28 14:04:58Z arodseth $
+# $Id: PKGBUILD 68610 2012-03-29 14:55:20Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Thanks to Moonprincessluna at DeviantArt for the default icon:
# http://mylittlepixel.deviantart.com/gallery/35405924#/d4pt23a
pkgname=gendesk
-pkgver=0.2
+pkgver=0.3
pkgrel=1
pkgdesc="Utility to generate .desktop files and download icons"
arch=('x86_64' 'i686')
url="http://roboticoverlords.org/gendesk/"
license=('MIT')
depends=('glibc')
-makedepends=('go')
+makedepends=('go>=2:1-2')
conflicts=('go-hg')
source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.gz"
"http://roboticoverlords.org/images/default.png")
-sha256sums=('51de3dd28ac38da82ca1db1428aad44348bc2edc491931ed0146044e781ca2e8'
+sha256sums=('a8d7ba4eacb01351f220ee93f5b72d3e58848f1de6b578d6b1d579e328a2aa37'
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
-options=(!strip)
-if [ "$CARCH" = "x86_64" ]; then
- _go=6
-else
- _go=8
-fi
build() {
cd "$srcdir/$pkgname-$pkgver"
msg2 "Compiling..."
- "${_go}g" "$pkgname.go"
- "${_go}l" -o "$pkgname" "$pkgname.$_go"
+ go build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$srcdir/default.png" "$pkgdir/usr/share/pixmaps/default.png"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}