makedeb
Utility for generating desktop files
Click here to go back to the commit logs for gendesk.
Hash: 50e7e55c4358f53992de5690ea295753be18259d
Message: 1.0.10, refresh, github url
diff --git a/.SRCINFO b/.SRCINFO
index d2085be..0a125c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,13 +2,13 @@ generated-by = makedeb
pkgname = gendesk
pkgbase = gendesk
pkgdesc = Utility for generating desktop files
-pkgrel = 4
-pkgver = 1.0.9
-url = https://gendesk.roboticoverlords.org/
+pkgrel = 0
+pkgver = 1.0.10
+url = https://github.com/xyproto/$pkgname/
arch = amd64
-license = MIT
-makedepends = golang-go
+license = BSD-3
+makedepends = golang-go>=1.22
options = !lto
-source = https://roboticoverlords.org/gendesk/gendesk-1.0.9.tar.xz
-b2sums = 07ba72b713bd240e9035ced7555e02bd544ba402a4cf1e8417804ea3d53d7c43cbd47da507b15de0446d07e0b9d84a9bf3c3327b6d508e7f6ced279b2cd6b961
-makedepends = golang-go
+source = gendesk-1.0.10.tar.gz::https://github.com/xyproto/gendesk/archive/refs/tags/v1.0.10.tar.gz
+b2sums = 0603cb2bc8da7c4c3667bf156ca74c2327e2e462690d448daa78d906fcc78eca4a2dd91879ab25372343905d54603c9983335ff2c0891753578511a76871df4b
+makedepends = golang-go>=1.22
diff --git a/PKGBUILD b/PKGBUILD
index 3e00778..2ccabf1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,31 @@
# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Alexander F. Rødseth (ARCH) <xyproto@archlinux.org>
# Contributor: zocker_160 <zocker1600 at posteo dot net>
+# https://gitlab.archlinux.org/archlinux/packaging/packages/gendesk
pkgname=gendesk
-pkgver=1.0.9
-pkgrel=4
+pkgver=1.0.10
+pkgrel=0
pkgdesc='Utility for generating desktop files'
arch=('amd64')
-url='https://gendesk.roboticoverlords.org/'
-license=('MIT')
+url='https://github.com/xyproto/$pkgname/'
+license=('BSD-3')
#possible alternative: gccgo-go
-makedepends=('golang-go')
-source=("https://roboticoverlords.org/$pkgname/$pkgname-$pkgver.tar.xz")
-b2sums=('07ba72b713bd240e9035ced7555e02bd544ba402a4cf1e8417804ea3d53d7c43cbd47da507b15de0446d07e0b9d84a9bf3c3327b6d508e7f6ced279b2cd6b961')
+makedepends=('golang-go>=1.22')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/xyproto/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
+b2sums=('0603cb2bc8da7c4c3667bf156ca74c2327e2e462690d448daa78d906fcc78eca4a2dd91879ab25372343905d54603c9983335ff2c0891753578511a76871df4b')
options=('!lto')
build() {
cd $pkgname-$pkgver
- go build -v -mod=vendor -trimpath -buildmode=pie -ldflags="-s -w -extldflags $LDFLAGS"
+ go build -buildmode=pie -trimpath -mod=readonly -modcacherw -ldflags="-s -w -linkmode=external -extldflags '$LDFLAGS'"
}
package() {
cd $pkgname-$pkgver
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 $pkgname.1.gz "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
- install -Dm644 default.png "$pkgdir/usr/share/pixmaps/default.png"
+ install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 LICENSE "$pkgdir/usr/share/doc/$pkgname/LICENSE"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/readme"
install -Dm644 CHANGELOG.md "$pkgdir/usr/share/doc/$pkgname/changelog"