summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb522cfc2a2242b9a0b4d96ff0505939ba9c2cff (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
# Maintainer: Flávio Tapajós <flavio dot pereira at usp dot br>
# Maintainer: Simone Scalabrino <s dot scalabrino 9 at gmail dot com>

webappname=pocket
pkgname=${webappname}-qdesktop
pkgver=0.1.1
pkgrel=1
pkgdesc='Get pocket web-app based on qtws'
arch=('i686' 'x86_64')
license=('GPL3')
depends=('qtws-base')
source=("$webappname.qtws" "$webappname.svg" "$webappname.desktop" "$webappname")
md5sums=('3adaae8407237c6aff731a6a8d1c6487'
         '3f96abae2159da1a336e1a586340f1a4'
         '56bc1a5efc94cfa1d07085c897024277'
         'b8e272f5aa2d74414dc840919f474758')

package() {
    mkdir -p ${pkgdir}/usr/share/qtws-apps/$webappname
    echo ${srcdir}
    
    install -Dm644 ${srcdir}/$webappname.qtws ${pkgdir}/usr/share/qtws-apps/$webappname/$webappname.qtws
    install -Dm755 ${srcdir}/$webappname.desktop ${pkgdir}/usr/share/applications/$webappname-desktop.desktop
    install -Dm644 ${srcdir}/$webappname.svg ${pkgdir}/usr/share/pixmaps/$webappname-desktop.svg
    install -Dm755 ${srcdir}/$webappname ${pkgdir}/usr/bin/$webappname
}