diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 11 insertions, 2 deletions
@@ -6,8 +6,9 @@ pkgbase = deepin-icon-theme-git arch = any groups = deepin license = LGPL3 + makedepends = git optdepends = gtk-engine-murrine: for gtk2 themes - source = deepin-icon-theme-git::git://github.com/linuxdeepin/deepin-icon-theme/ + source = deepin-icon-theme-git::git+https://github.com/linuxdeepin/deepin-icon-theme/ sha512sums = SKIP pkgname = deepin-icon-theme-git @@ -10,10 +10,11 @@ pkgrel=1 pkgdesc="Deepin GTK Theme" arch=('any') url="https://github.com/linuxdeepin/deepin-gtk-theme" +makedepends=('git') license=('LGPL3') optdepends=('gtk-engine-murrine: for gtk2 themes') groups=('deepin') -source=("$pkgname::git://github.com/linuxdeepin/deepin-icon-theme/") +source=("$pkgname::git+https://github.com/linuxdeepin/deepin-icon-theme/") sha512sums=('SKIP') pkgver() { @@ -21,6 +22,13 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd $pkgname + if [[ ! -z ${sha} ]];then + git checkout -b $sha + fi +} + build() { cd $pkgname make hicolor-links |