secret
Created

pPub PKGBUILD

  • Download Gist
PKGBUILD
Shell
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 32 33 34 35 36 37 38 39 40 41
# Maintainer: Thanasis Georgiou <sakisds@gmx.com>
# Contributor: PyroDevil <p dot devil at gmail dot com>
pkgname="ppub"
pkgver=1.0
pkgrel=2
pkgdesc="A simple ePub reader make using gtk3, python and webkit."
arch=('any')
license=('GPL')
url="https://github.com/sakisds/pPub"
depends=('python2' 'gtk3' 'gobject-introspection' 'libwebkit3' 'python2-gobject')
makedepends=('git')
optdepends=()
provides=()
conflicts=()
options=()
source=("git://github.com/sakisds/pPub.git#tag=v${pkgver}")
md5sums=('SKIP')
 
package() {
cd "${srcdir}/pPub"
mkdir -p "${pkgdir}/usr/bin"
install -Dm755 ppub "${pkgdir}/usr/bin/ppub"
#Install .desktop file
install -Dm755 misc/ppub.desktop "${pkgdir}/usr/share/applications/ppub.desktop"
#Install icons
install -Dm755 misc/ppub-24.png "${pkgdir}/usr/share/icons/hicolor/24x24/apps/ppub.png"
install -Dm755 misc/ppub-32.png "${pkgdir}/usr/share/icons/hicolor/32x32/apps/ppub.png"
install -Dm755 misc/ppub-48.png "${pkgdir}/usr/share/icons/hicolor/48x48/apps/ppub.png"
install -Dm755 misc/ppub-64.png "${pkgdir}/usr/share/icons/hicolor/64x64/apps/ppub.png"
install -Dm755 misc/ppub-scalable.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/ppub.svg"
#Install files to /usr/share
mkdir -p "${pkgdir}/usr/share/ppub"
install -Dm755 night.css "${pkgdir}/usr/share/ppub/night.css"
install -Dm755 README.md "${pkgdir}/usr/share/ppub/README"
install -Dm755 COPYING "${pkgdir}/usr/share/ppub/COPYING"
install -Dm755 ppub.py "${pkgdir}/usr/share/ppub/ppub.py"
install -Dm755 dialogs.py "${pkgdir}/usr/share/ppub/dialogs.py"
install -Dm755 xml2obj.py "${pkgdir}/usr/share/ppub/xml2obj.py"
install -Dm755 contentprovider.py "${pkgdir}/usr/share/ppub/contentprovider.py"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.