summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2020-03-16 05:24:19 +0100
committeractionless2020-03-16 05:24:19 +0100
commit75dc85189aaba4b63959c983823fa8b53a20ff16 (patch)
treeaaf1a71ad876e3d0f3d0ffb6e7e5aa5140144d92
parentd985f1b1c613f9f96a7180ec386d86820ac2c607 (diff)
downloadaur-75dc85189aaba4b63959c983823fa8b53a20ff16.tar.gz
chore(plugins: theme: oomox): packaging stuff moved to its own repo
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD21
2 files changed, 7 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 250c294dced6..add35dda0633 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = themix-theme-oomox-git
pkgdesc = Oomox theme plugin (GTK2, GTK3, Cinnamon, Metacity, Openbox, Qt5ct, Unity, Xfwm) for Themix GUI designer. Have a hack for HiDPI in GTK2.
- pkgver = 1.11.1.r21.g0143d5a1
- pkgrel = 3
+ pkgver = 1.11.1.r23.g20658006
+ pkgrel = 1
url = https://github.com/themix-project/oomox-gtk-theme
arch = x86_64
arch = i686
@@ -23,10 +23,8 @@ pkgbase = themix-theme-oomox-git
provides = themix-theme-oomox
conflicts = themix-theme-oomox
options = !strip
- source = git+https://github.com/themix-project/oomox.git#branch=master
source = oomox-gtk-theme::git+https://github.com/themix-project/oomox-gtk-theme.git#branch=master
md5sums = SKIP
- md5sums = SKIP
pkgname = themix-theme-oomox-git
diff --git a/PKGBUILD b/PKGBUILD
index 71bb13f00f7f..976174f3739c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
_pkgname=themix-theme-oomox
_reponame=oomox-gtk-theme
pkgname="${_pkgname}-git"
-pkgver=1.11.1.r21.g0143d5a1
-pkgrel=3
+pkgver=1.11.1.r23.g20658006
+pkgrel=1
pkgdesc="Oomox theme plugin
(GTK2, GTK3, Cinnamon, Metacity, Openbox, Qt5ct, Unity, Xfwm) for Themix GUI designer.
Have a hack for HiDPI in GTK2."
@@ -13,11 +13,9 @@ arch=('x86_64' 'i686')
url="https://github.com/themix-project/oomox-gtk-theme"
license=('GPL3')
source=(
- "git+https://github.com/themix-project/oomox.git#branch=master"
"${_reponame}::git+https://github.com/themix-project/oomox-gtk-theme.git#branch=master"
)
-md5sums=('SKIP'
- 'SKIP')
+md5sums=('SKIP')
depends=(
'gtk3'
'glib2' # oomox, materia, arc
@@ -52,18 +50,9 @@ pkgver() {
package() {
_oomox_dir=/opt/oomox
_plugin_name=theme_oomox
- _plugin_subpath="/gtk-theme"
-
- pkg_tmp_dir="${pkgdir}/_tmp"
- rm -fr "$pkg_tmp_dir"
- cp -r "${srcdir}/oomox" "$pkg_tmp_dir"
- rm -rf "${pkg_tmp_dir}/plugins/${_plugin_name}${_plugin_subpath}"
- cp -r "${srcdir}/${_reponame}" "${pkg_tmp_dir}/plugins/${_plugin_name}${_plugin_subpath}"
-
- cd "$pkg_tmp_dir"
- make DESTDIR="${pkgdir}" APPDIR="${_oomox_dir}" PREFIX="/usr" install_theme_oomox
- rm -fr "$pkg_tmp_dir"
+ cd "${srcdir}/${_reponame}"
+ make -f Makefile_oomox_plugin DESTDIR="${pkgdir}" APPDIR="${_oomox_dir}" PREFIX="/usr" install
python -O -m compileall "${pkgdir}${_oomox_dir}/plugins/${_plugin_name}" -d "${_oomox_dir}/plugins/${_plugin_name}"
}