diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -2,14 +2,13 @@ # Contributor: Diego <cdprincipe@gmail.com> pkgname=numix-themes-git -pkgver=2.5.1.r11.c05a9fd +pkgver=2.5.1.r98.5cccc5b pkgrel=1 pkgdesc='A flat and light theme with a modern look (GNOME, Openbox, Unity, Xfce)' arch=('any') url='http://numixproject.org/' license=('GPL3') -depends=('gtk-engine-murrine') -makedepends=('git') +makedepends=('git' 'ruby-sass') provides=('numix-themes') conflicts=('numix-themes') source=('numix-themes::git+https://github.com/shimmerproject/Numix.git') @@ -18,16 +17,19 @@ md5sums=('SKIP') pkgver() { cd numix-themes - printf "%s" "$(git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./')" - #printf "2.5.1.r%s.%s" "$(git rev-list --count v2.4..HEAD)" "$(git rev-parse --short HEAD)" + git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./' +} + +build() { + cd numix-themes + + make } package() { cd numix-themes - install -dm 755 "${pkgdir}"/usr/share/themes/Numix - rm -rf .git .gitignore CREDITS LICENSE README.md - cp -dr --no-preserve='ownership' * "${pkgdir}"/usr/share/themes/Numix/ + make DESTDIR="${pkgdir}" install } # vim: ts=2 sw=2 et: |