summaryrefslogtreecommitdiff
path: root/libre/gendesk-libre/PKGBUILD
blob: 3e40745afaa1937d5667e67018907459c03c586f (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
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

_pkgname=gendesk
pkgname=gendesk-libre
pkgver=0.4.4
pkgrel=1
pkgdesc="Utility to generate .desktop files and download icons"
arch=('x86_64' 'i686' 'mips64el')
url="https://gitorious.org/ovruni/gendesk/"
license=('MIT')
makedepends=('curl' 'openssl')
provides=('$_pkgname=$pkgver')
replaces=('$_pkgname')
conflicts=('$_pkgname')
source=("http://gnu.org.pe/software/$_pkgname/$_pkgname-$pkgver.tar.xz")
md5sums=('2f192713eb588006086ae4e0471e9450')

build() {
  cd "$srcdir/$_pkgname-$pkgver"

  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"

  install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname"
  install -Dm644 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"
}