blob: a144154185289d5d43e4971b46298a18beaf811f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 68634 2012-03-30 15:35:07Z 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.4
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>=2:1-2')
conflicts=('go-hg')
source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.gz"
"http://roboticoverlords.org/images/default.png")
sha256sums=('33f95ce4b48ffb194693b0c35f8b9728a6d9c961f365a0c38bbd128c0d851993'
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
build() {
cd "$srcdir/$pkgname-$pkgver"
msg2 "Compiling..."
go build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
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"
}
# vim:set ts=2 sw=2 et:
|