-
-
Save PyroDevil/4d0b8f6f8da60b3f5c22 to your computer and use it in GitHub Desktop.
pPub PKGBUILD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment