diff options
author | ValHue | 2018-04-09 10:34:14 +0200 |
---|---|---|
committer | ValHue | 2018-04-09 10:34:14 +0200 |
commit | bc71fb403356ae6c0f994d12ce39d1acf490a163 (patch) | |
tree | e9c1e38b1ec46bbcd23d6394360580bb540f4468 | |
download | aur-periscopio-mate.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..22b40a4130dd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = periscopio-mate + pkgdesc = An Python module for searching subtitles on the web. Includes a caja extension. + pkgver = 1.18.1 + pkgrel = 1 + url = https://github.com/darkshram/periscopio-mate + arch = i686 + arch = x86_64 + license = GPL2 + depends = caja + depends = python2-beautifulsoup3 + provides = periscopio-mate + source = https://github.com/darkshram/periscopio-mate/archive/1.18.1.tar.gz + sha256sums = e9e092b4d9318e9379be082632f7129c74dd8dd2b48be2b84f4320c582e20adc + +pkgname = periscopio-mate + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..719de41f9be6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: ValHue <vhuelamo at gmail dot com> +# +# Contributor: ValHue <vhuelamo at gmail dot com> +# +pkgname="periscopio-mate" +pkgver="1.18.1" +pkgrel="1" +pkgdesc="An Python module for searching subtitles on the web. Includes a caja extension." +url="https://github.com/darkshram/periscopio-mate" +license=('GPL2') +arch=('i686' 'x86_64') +depends=('caja' 'python2-beautifulsoup3') +provides=("${pkgname}") +source=("https://github.com/darkshram/${pkgname}/archive/${pkgver}.tar.gz") +sha256sums=('e9e092b4d9318e9379be082632f7129c74dd8dd2b48be2b84f4320c582e20adc') + +build() { + cd "${pkgname}-${pkgver}" + python2 setup.py build +} +package() { + cd "${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 + install -d -m755 "${pkgdir}/usr/share/caja-python/extensions" + install -D -m755 ./bin/periscopio-caja/periscopio-caja.py* "${pkgdir}/usr/share/caja-python/extensions/" + for n in ./po/*.mo; do + install -p -D -m644 $n ${pkgdir}/usr/share/locale/`basename $n .mo`/LC_MESSAGES/${pkgname}.mo + done + install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=4 sw=2 ft=sh et: |