diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 11 insertions, 4 deletions
@@ -6,9 +6,10 @@ pkgbase = deepin-sound-theme-git arch = any groups = deepin-git license = GPL3 + makedepends = git conflicts = deepin-artwork conflicts = deepin-sound-theme - source = deepin-sound-theme-git::git://github.com/linuxdeepin/deepin-sound-theme/ + source = deepin-sound-theme-git::git+https://github.com/linuxdeepin/deepin-sound-theme/ sha512sums = SKIP pkgname = deepin-sound-theme-git @@ -3,15 +3,14 @@ pkgname=deepin-sound-theme-git pkgver=15.10.6.r2.ge3aa7fb pkgrel=1 -pkgver=15.10.6.r2.ge3aa7fb -pkgrel=1 pkgdesc="Deepin sound theme" arch=('any') url="https://github.com/linuxdeepin/deepin-sound-theme" +makedepends=('git') license=('GPL3') groups=('deepin-git') conflicts=('deepin-artwork' 'deepin-sound-theme') -source=("$pkgname::git://github.com/linuxdeepin/deepin-sound-theme/") +source=("$pkgname::git+https://github.com/linuxdeepin/deepin-sound-theme/") sha512sums=('SKIP') pkgver() { @@ -19,6 +18,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 |