blob: c8b0d9211223714a7003bd7d3658693bf41664da (
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
|
# $Id: PKGBUILD 97501 2013-09-22 21:35:55Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
pkgname=gendesk
pkgver=0.5.5
pkgrel=1
pkgdesc='Utility to generate .desktop files and download icons'
arch=('x86_64' 'i686')
url='http://roboticoverlords.org/gendesk/'
license=('MIT')
makedepends=('go')
depends=('glibc')
source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"
'http://roboticoverlords.org/images/default.png')
sha256sums=('52a13d3952f0c00a65f05d01a9ca0fc1f5337f3379ff6017aafb686e5caf0942'
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
build() {
cd "$pkgname-$pkgver"
go build
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$srcdir/default.png" "$pkgdir/usr/share/pixmaps/default.png"
install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
|