mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/gendesk to 1.0.2-1
This commit is contained in:
parent
bb044a9a18
commit
fc6aec2c15
1 changed files with 7 additions and 10 deletions
|
@ -5,7 +5,7 @@
|
||||||
# - build with go instead of gcc-go
|
# - build with go instead of gcc-go
|
||||||
|
|
||||||
pkgname=gendesk
|
pkgname=gendesk
|
||||||
pkgver=1.0.1
|
pkgver=1.0.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Utility for generating desktop files'
|
pkgdesc='Utility for generating desktop files'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -16,25 +16,22 @@ options=('!strip')
|
||||||
source=("https://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
|
source=("https://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc}
|
||||||
'https://roboticoverlords.org/images/default.png')
|
'https://roboticoverlords.org/images/default.png')
|
||||||
validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
|
validpgpkeys=('962855F072C7A01846405864FCF3C8CB5CF9C8D4')
|
||||||
sha256sums=('0d10ae331213ff93ea5290d73eed444f8bd795aae3e2302e9c5eaf5dfadbac6c'
|
sha256sums=('cb48fda9f501fa7d014bec5e4324a5f751904a473651c4a7f665736061c6c27d'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
|
'4d96eded48e536d02e35727c36dc20844c2e44654e81baf78e10aee4eb48e837')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname-$pkgver"
|
cd $pkgname-$pkgver
|
||||||
|
GOPATH="$PWD" go get -d -v
|
||||||
GOPATH=`pwd` go get -d -v
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd $pkgname-$pkgver
|
||||||
|
GOPATH="$PWD" go build -buildmode=pie -ldflags="-s -w"
|
||||||
GOPATH=`pwd` go build -buildmode=pie -ldflags="-s -w"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
cd $pkgname-$pkgver
|
||||||
|
|
||||||
install -Dm755 "$pkgname-$pkgver" "$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 "$srcdir/default.png" "$pkgdir/usr/share/pixmaps/default.png"
|
||||||
install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
|
install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
|
||||||
|
|
Loading…
Reference in a new issue