diff options
author | Dominik Wetzel | 2018-01-16 14:45:50 +0100 |
---|---|---|
committer | Dominik Wetzel | 2018-01-16 14:45:50 +0100 |
commit | e4a9f9f3376f347ff45bdde73b11d234ccfc0807 (patch) | |
tree | 6747898b50661472efc1415ca0f8d5c89a87245c /PKGBUILD | |
download | aur-openclipart2-libreoffice.tar.gz |
Openclipart2 for libreoffice package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..76c2af8ea038 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Dominik Wetzel <dimonok@web.de> +pkgname=openclipart2-libreoffice +pkgver=2.0 +pkgrel=1 +pkgdesc="Openclipart 2.0 Gallary package from Ubuntu for LibreOffice" +arch=('any') +url="https://openclipart.org" +license=('CC0') +depends=('openclipart2-png') +source=("http://de.archive.ubuntu.com/ubuntu/pool/universe/o/openclipart2/${pkgname}_${pkgver}+dfsg-1ubuntu1_all.deb") +md5sums=('eeef9113e2445e177bf86a695496dd7a') + +prepare() { + cd $srcdir + tar xzf data.tar.gz -C . +} + +package() { + cd $srcdir + install -D -m644 "usr/share/doc/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT" + rm -r ${srcdir}/usr/share/doc + cd $pkgdir + cp -r $srcdir/usr . +} + |