summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp A2019-05-16 10:47:00 +0200
committerPhilipp A2019-05-16 10:47:35 +0200
commitaf6ad1decfe56ae62fa5929c093b64ad240bd231 (patch)
tree3f123be6af8de42a01ae480fcb707a606e75ffec
downloadaur-af6ad1decfe56ae62fa5929c093b64ad240bd231.tar.gz
init
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD20
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d3be83db4aa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = freedesktop-templates-libreoffice
+ pkgdesc = LibreOffice Templates for the “Create New...” menu
+ pkgver = 6.1.5
+ pkgrel = 1
+ arch = any
+ license = unknown
+ depends = dolphin
+ depends = libreoffice
+ source = http://ftp.debian.org/debian/pool/main/libr/libreoffice/libreoffice-kde5_6.1.5~rc1-2_amd64.deb
+ sha256sums = 345fb6a8b9a51303aa13b01fdf8b575ae5f391d22f7447d57a35113b52318cad
+
+pkgname = freedesktop-templates-libreoffice
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..dda754572f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/src/
+/pkg/
+/*.deb
+/*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d5361b0b3be
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname=freedesktop-templates-libreoffice
+pkgver=6.1.5
+pkgrel=1
+pkgdesc='LibreOffice Templates for the “Create New...” menu'
+arch=('any')
+license=('unknown')
+depends=('dolphin' 'libreoffice')
+source=("http://ftp.debian.org/debian/pool/main/libr/libreoffice/libreoffice-kde5_$pkgver~rc1-2_amd64.deb")
+sha256sums=('345fb6a8b9a51303aa13b01fdf8b575ae5f391d22f7447d57a35113b52318cad')
+
+prepare() {
+ tar xf data.tar.xz
+ # metainfo exists in libreoffice
+ rm -rf ./usr/{lib,share/{appdata,bug,doc,metainfo}}
+ sed -Ei 's/ *(\.{3})/\1/g; /\[de\]/d' ./usr/share/templates/*.desktop
+}
+
+package() {
+ cp -r "$srcdir/usr" "$pkgdir/"
+}