summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ac0b63ba9c3b678d078da4cf187db5a39061ced3 (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: ninian <mcfadzean.org.uk ta linux>

pkgname=runa
pkgver=2.3.1
pkgrel=1
pkgdesc="Fast and light desktop application launcher"
arch=('any')
url="http://appstogo.mcfadzean.org.uk/linux.html#runa"
license=('custom:MPL2')
depends=('bash' 'dmenu' 'libnotify')
optdepends=('gxmessage: to view .desktop files' 'perl-file-mimeinfo: to better determine mimetypes')
source=("http://appstogo.mcfadzean.org.uk/dl/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('bbc61d3e7c0abf37600bbc3fbeda334e')

package() {
  cd "$srcdir/${pkgname}-$pkgver"
  gzip ${pkgname}.1
  install -Dm755 ${pkgname}                  "$pkgdir/usr/bin/${pkgname}"
  install -Dm644 ${pkgname}.png              "$pkgdir/usr/share/pixmaps/${pkgname}.png"
  install -Dm644 ${pkgname}.desktop          "$pkgdir/usr/share/applications/${pkgname}.desktop"
  install -Dm644 ${pkgname}-assoc.desktop    "$pkgdir/usr/share/applications/${pkgname}-assoc.desktop"
  install -Dm644 ${pkgname}-desktop.desktop  "$pkgdir/usr/share/applications/${pkgname}-desktop.desktop"
  install -Dm644 ${pkgname}.1.gz             "$pkgdir/usr/share/man/man1/${pkgname}.1.gz"
  install -Dm644 LICENSE                     "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
  install -Dm644 README                      "$pkgdir/usr/share/doc/${pkgname}/README"
  install -Dm644 CHANGELOG                   "$pkgdir/usr/share/doc/${pkgname}/CHANGELOG"
  install -Dm755 xdg-open                    "$pkgdir/usr/share/doc/${pkgname}/xdg-open"
  msg "Configuration and favourites files will be created the first time Runa is executed"
  msg "See 'man ${pkgname}' and /usr/share/doc/${pkgname}/README for more information"
  msg "IMPORTANT: v2.3.0 and v2.2.0 configuration files are INCOMPATIBLE; recreate and merge as required"
}