diff options
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | nautilus-lxsplit.install | 20 |
3 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d95ea4c4760d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = nautilus-lxsplit + pkgdesc = An extension for Nautilus to split and join files + pkgver = 0.0.2.0 + pkgrel = 1 + url = https://www.atareao.es/apps/dividir-archivos-en-varias-partes-con-nautilus-lxsplit-en-ubuntu/ + install = nautilus-lxsplit.install + arch = any + license = GPL3 + depends = libnautilus-extension + depends = lxsplit + provides = nautilus-lxsplit + source = https://launchpad.net/~atareao/+archive/ubuntu/nautilus-extensions/+files/nautilus-lxsplit_0.0.2.0-1ubuntu0.tar.xz + sha256sums = c9e25635a57f28c8dc5ac33606524567fcfc83f24d087e6b64be92b04d9eef0f + +pkgname = nautilus-lxsplit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..405a1d62bc04 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: ValHue <vhuelamo at gmail dot com> +# https://github.com/ValHue/AUR-PKGBUILDs + +pkgname="nautilus-lxsplit" +pkgver="0.0.2.0" +pkgrel="1" +pkgdesc="An extension for Nautilus to split and join files" +arch=('any') +url="https://www.atareao.es/apps/dividir-archivos-en-varias-partes-con-nautilus-lxsplit-en-ubuntu/" +license=('GPL3') +depends=('libnautilus-extension' 'lxsplit') +makedepends=('') +provides=("${pkgname}") +source=("https://launchpad.net/~atareao/+archive/ubuntu/nautilus-extensions/+files/${pkgname}_${pkgver}-1ubuntu0.tar.xz") +sha256sums=('c9e25635a57f28c8dc5ac33606524567fcfc83f24d087e6b64be92b04d9eef0f') +install="${pkgname}.install" + +build() { + cd "${srcdir}/${pkgname}" +} + +package() { + cd "${pkgdir}" + install -d ${pkgdir}/usr/share/nautilus-python/extensions + + cd "${srcdir}/${pkgname}" + mv ./src/nautilus-lxsplit.py ${pkgdir}/usr/share/nautilus-python/extensions/ +} + +# vim:set ts=4 sw=2 ft=sh et: diff --git a/nautilus-lxsplit.install b/nautilus-lxsplit.install new file mode 100644 index 000000000000..b8a97f3eb069 --- /dev/null +++ b/nautilus-lxsplit.install @@ -0,0 +1,20 @@ +# nautilus-lxsplit.install + +post_install() { + update-desktop-database -q + echo "" + echo " Do not forget to restart nautilus:" + echo "" + echo " 'nautilus -q' or 'killall nautilus'" + echo "" +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + +# vim:set ts=4 sw=2 ft=sh et: |