diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 17 |
3 files changed, 16 insertions, 9 deletions
@@ -1,17 +1,19 @@ pkgbase = ant-dracula-theme-git pkgdesc = Dracula variant of the Ant theme - pkgver = r76.b410891 + pkgver = 4.0.0.r10.ge93c5d8 pkgrel = 1 url = https://github.com/EliverLara/Ant-Dracula arch = any license = GPL + makedepends = git makedepends = inkscape makedepends = optipng optdepends = ttf-roboto: primary font face defined optdepends = ttf-ubuntu-font-family: secondary font face defined optdepends = cantarell-fonts: tertiary font face defined + provides = ant-dracula-gtk-theme + conflicts = ant-dracula-gtk-theme source = Ant-Dracula::git+https://github.com/EliverLara/Ant-Dracula.git sha256sums = SKIP pkgname = ant-dracula-theme-git - diff --git a/.gitignore b/.gitignore index b6a7aea9acbf..bf7b730c3f0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ src pkg Ant-Dracula -*pkg.tar.xz +*.pkg.tar.* tags @@ -2,23 +2,25 @@ pkgname=ant-dracula-theme-git _pkgname=Ant-Dracula -pkgver=r76.b410891 +pkgver=4.0.0.r10.ge93c5d8 pkgrel=1 pkgdesc="Dracula variant of the Ant theme" arch=("any") url="https://github.com/EliverLara/${_pkgname}" license=('GPL') -makedepends=('inkscape' 'optipng') +makedepends=('git' 'inkscape' 'optipng') optdepends=('ttf-roboto: primary font face defined' 'ttf-ubuntu-font-family: secondary font face defined' 'cantarell-fonts: tertiary font face defined') +conflicts=('ant-dracula-gtk-theme') +provides=('ant-dracula-gtk-theme') source=("${_pkgname}::git+https://github.com/EliverLara/${_pkgname}.git") sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g' } build() { @@ -37,12 +39,15 @@ build() { msg2 "Rendering assets, please wait" pushd gtk-2.0 while read $line; do echo -n "."; done < \ - <(./render-assets.sh; ); echo + <(./render-assets.sh 2>/dev/null); echo popd - pushd gtk-3.20/assets + pushd src while read $line; do echo -n "."; done < \ - <(./render-gtk3-assets.py; ./render-gtk3-assets-hidpi.py); echo + <(./render-gtk3-assets.py 2>/dev/null; \ + ./render-gtk3-assets-hidpi.py 2>/dev/null; \ + ./render-wm-assets-hidpi.py 2>/dev/null; \ + ./render-wm-assets.py 2>/dev/null); echo popd msg2 "Done!" |