summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuong Do Minh Chau2020-04-16 13:14:05 +0700
committerDuong Do Minh Chau2020-04-16 13:16:02 +0700
commit27339ae918168be9bab93636d6a8c598da268c7b (patch)
tree8359ad9d404edab812b53d200b720f170182bdd0
downloadaur-27339ae918168be9bab93636d6a8c598da268c7b.tar.gz
Initial commit
-rw-r--r--.SRCINFO31
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD41
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b716e4d61a7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = o20-git
+ pkgdesc = Office365 on your Linux PC
+ pkgver = r133.4f14dbe
+ pkgrel = 1
+ url = https://gitlab.com/abstractsoftware/o20/o20coreapps
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ makedepends = extra-cmake-modules
+ depends = zlib
+ depends = syntax-highlighting
+ depends = sonnet
+ depends = breeze
+ depends = qt5-base
+ depends = qt5-svg
+ depends = qt5-quickcontrols
+ depends = qt5-quickcontrols2
+ depends = ktextwidgets
+ depends = kwidgetsaddons
+ depends = karchive
+ depends = kconfig
+ depends = kiconthemes
+ depends = kcoreaddons
+ provides = o20
+ conflicts = o20
+ source = o20-git::git+https://gitlab.com/abstractsoftware/o20/o20coreapps.git
+ sha256sums = SKIP
+
+pkgname = o20-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..857b9337db0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+o20-git/
+*.zst
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7f6fbdb4097
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Duong Do Minh Chau <duongdominhchau@gmail.com>
+pkgname=o20-git
+pkgver=r133.4f14dbe
+pkgrel=1
+pkgdesc="Office365 on your Linux PC"
+arch=(x86_64)
+url="https://gitlab.com/abstractsoftware/o20/o20coreapps"
+license=('GPL')
+depends=(zlib syntax-highlighting sonnet breeze
+ qt5-{base,svg,quickcontrols{,2}}
+ k{textwidgets,widgetsaddons,archive,config,iconthemes,coreaddons}
+)
+makedepends=(git cmake extra-cmake-modules)
+provides=(${pkgname/-git/})
+conflicts=(${pkgname/-git/})
+source=("${pkgname}::git+https://gitlab.com/abstractsoftware/o20/o20coreapps.git")
+sha256sums=(SKIP)
+
+pkgver() {
+ cd "${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${pkgname}"
+ mkdir -p build && cd build
+ # TODO: Use existing font packages instead
+ cmake \
+ -DCOMPILE_ONLY_WORD=On \
+ -DINSTALL_FONT=On \
+ ..
+ make
+}
+
+package() {
+ cd "${pkgname}/build"
+ make DESTDIR="${pkgdir}" install
+ cd ..
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/o20" \
+ COPYING LICENSE
+}