2012-06-04 01:25:33 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer abveritas@chakra-project.org
|
2012-06-02 03:47:39 +08:00
|
|
|
|
|
|
|
pkgname=gendesk
|
2013-12-02 03:17:10 +08:00
|
|
|
pkgver=0.5.5
|
2012-06-02 03:47:39 +08:00
|
|
|
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')
|
|
|
|
conflicts=('go-hg')
|
2013-12-02 03:17:10 +08:00
|
|
|
source=("http://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"
|
2012-06-02 03:47:39 +08:00
|
|
|
"http://roboticoverlords.org/images/default.png")
|
2013-12-02 03:17:10 +08:00
|
|
|
sha256sums=('52a13d3952f0c00a65f05d01a9ca0fc1f5337f3379ff6017aafb686e5caf0942'
|
2012-06-02 03:47:39 +08:00
|
|
|
'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"
|
|
|
|
}
|