summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlelgenio2021-03-26 21:40:14 -0300
committerlelgenio2021-03-26 21:40:14 -0300
commit66bc7906cb83d1bd2df8984caaa9d600081a697e (patch)
treea13206990306553be8bada36efe80254da950a26
parent31b2a1383ccc22e2c8cbe8daeb85f443e2016b50 (diff)
downloadaur-66bc7906cb83d1bd2df8984caaa9d600081a697e.tar.gz
fix for gtk4 =)
-rw-r--r--.SRCINFO2
-rw-r--r--.gitignore9
-rw-r--r--PKGBUILD29
3 files changed, 21 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ddc29977a83..235b2520eaa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = materia-custom-accent
pkgdesc = Easy installer for the materia theme with a custom accent color, gdm and qt5 support (edit PKGBUILD)
- pkgver = r1462.c63ca328
+ pkgver = r1607.68baf805
pkgrel = 1
url = https://github.com/nana-4/materia-theme
arch = any
diff --git a/.gitignore b/.gitignore
index f26ef3a5268..b19e7e83e8a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
-src
-pkg
-materia-theme*
-materia-custom-accent-*.pkg.tar.* \ No newline at end of file
+*
+!PKGBUILD
+!.SRCINFO
+!99-gdm-use-materia-theme.hook
+!.gitignore
diff --git a/PKGBUILD b/PKGBUILD
index bd93b42d1d2..009bd6b2693 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ pkgdesc="Easy installer for the materia theme with a custom accent color, gdm an
arch=('any')
url="https://github.com/nana-4/materia-theme"
_url_qt="https://github.com/PapirusDevelopmentTeam/materia-kde"
-pkgver=r1462.c63ca328
+pkgver=r1607.68baf805
pkgrel=1
license=('GPL')
makedepends=(bc sassc inkscape)
@@ -27,28 +27,29 @@ sha256sums=('SKIP'
'SKIP'
'7db390763b37c3cc2c2984a8a3e8452d1822ac579def6a07eecbee076fb73d77')
pkgver() {
- cd "${srcdir}/${_pkgname}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "${srcdir}/${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare(){
- # materia-qt has no ./change_color script
- cd "${srcdir}/materia-theme-qt/Kvantum"
- sed "s/8ab4f8/$_accent/" -i */*
+ # materia-qt has no ./change_color script
+ cd "${srcdir}/materia-theme-qt/Kvantum"
+ sed "s/8ab4f8/$_accent/" -i */*
}
build(){
- cd "${srcdir}/${_pkgname}"
- ./change_color.sh -t "${srcdir}/themes" -o "${pkgname}" <( echo -e "$_colors")
- ./change_color.sh -t "${srcdir}/themes" -o "${pkgname}-dark" <( echo -e "$_colors_dark")
+ cd "${srcdir}/${_pkgname}"
+ mkdir -p "${srcdir}/themes"
+ ./change_color.sh -t "${srcdir}/themes" -o "${pkgname}" <( echo -e "$_colors")
+ ./change_color.sh -t "${srcdir}/themes" -o "${pkgname}-dark" <( echo -e "$_colors_dark")
}
package() {
- mkdir -p "${pkgdir}/usr/share/themes"
- cp -r "${srcdir}"/themes/* "${pkgdir}/usr/share/themes"
- cp -r "${srcdir}"/materia-theme-qt/Kvantum "${pkgdir}/usr/share"
+ mkdir -p "${pkgdir}/usr/share/themes"
+ cp -r "${srcdir}"/themes/* "${pkgdir}/usr/share/themes"
+ cp -r "${srcdir}"/materia-theme-qt/Kvantum "${pkgdir}/usr/share"
- mkdir -p "${pkgdir}/usr/share/libalpm/hooks"
- cp 99-gdm-use-materia-theme.hook "${pkgdir}/usr/share/libalpm/hooks"
+ mkdir -p "${pkgdir}/usr/share/libalpm/hooks"
+ cp 99-gdm-use-materia-theme.hook "${pkgdir}/usr/share/libalpm/hooks"
}