summaryrefslogtreecommitdiff
path: root/libre/gendesk-libre/PKGBUILD
blob: b2f5c7cea68a27399104571ae4ed83d557149148 (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.5.2
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=('416e81aaa4d8963e229b6341a5c4db1a')

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"
}