diff options
author | Jonas Heinrich | 2019-07-31 13:09:21 +0200 |
---|---|---|
committer | Jonas Heinrich | 2019-07-31 13:09:21 +0200 |
commit | 76b640900e4a913e0bce03738e2fa1173eaa7e4a (patch) | |
tree | 31d4b19f0dddf2094ac6202e5d604ebf9e0ec6b1 | |
download | aur-76b640900e4a913e0bce03738e2fa1173eaa7e4a.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c43dcf2530f2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = wordpress-plugin-lightbox-photoswipe + pkgdesc = Simple integration of PhotoSwipe to WordPress + pkgver = 2.4 + pkgrel = 1 + url = https://github.com/arnowelzel/lightbox-photoswipe + arch = any + license = GPL2 + depends = wordpress + options = !strip + source = wordpress-plugin-lightbox-photoswipe-2.4.tar.gz::https://downloads.wordpress.org/plugin/lightbox-photoswipe.2.4.zip + sha512sums = 97521bac9371f7ac26935dec24ab7920f0c300809c7016761336e4d3832efca4165b1c7dc265788706618878d9611de1c6392ea79eb7cc6a46910ac51b54c7cd + +pkgname = wordpress-plugin-lightbox-photoswipe + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..59310acbe2fe --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Jonas Heinrich <onny@project-insanity.org> +# Contributor: Jonas Heinrich <onny@project-insanity.org> + +pkgname=wordpress-plugin-lightbox-photoswipe +pkgver=2.4 +pkgrel=1 +pkgdesc="Simple integration of PhotoSwipe to WordPress" +arch=('any') +url="https://github.com/arnowelzel/lightbox-photoswipe" +license=('GPL2') +depends=('wordpress') +makedepends=() +options=('!strip') +source=("${pkgname}-${pkgver}.tar.gz::https://downloads.wordpress.org/plugin/lightbox-photoswipe.${pkgver}.zip") +sha512sums=("97521bac9371f7ac26935dec24ab7920f0c300809c7016761336e4d3832efca4165b1c7dc265788706618878d9611de1c6392ea79eb7cc6a46910ac51b54c7cd") + +package() { + install -d "${pkgdir}/usr/share/webapps/wordpress/wp-content/plugins" + cp -ra "${srcdir}/lightbox-photoswipe" "${pkgdir}/usr/share/webapps/wordpress/wp-content/plugins/" + install -D "${srcdir}/lightbox-photoswipe/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |