makedeb


gendesk-bin 1.0.10-0


Utility for generating desktop files

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for gendesk-bin.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>

_pkgname=gendesk
pkgname=gendesk-bin
pkgver=1.0.10
pkgrel=0
pkgdesc='Utility for generating desktop files'
arch=('amd64')
url='https://gendesk.roboticoverlords.org/'
license=('MIT')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("https://github.com/xyproto/$_pkgname/releases/download/v$pkgver/$_pkgname-$pkgver-linux_static.tar.xz")
b2sums=('d8a055b2b73f83ee22d46ea9eb3de184437ed9be4b56b598242195cf30a8689dd7f09072e2276574b687568a95e576bbf0ef38350d91c5be9c06d6b435c65ec0')
options=('!strip')

package() {
  cd $_pkgname-$pkgver-linux_static
  install -Dm755 $_pkgname "$pkgdir/usr/bin/$_pkgname"
  install -Dm644 $_pkgname.1.gz "$pkgdir/usr/share/man/man1/$_pkgname.1.gz"
  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"
  gzip "$pkgdir/usr/share/doc/$_pkgname/changelog"
}