diff options
author | justforlxz | 2022-03-20 01:17:49 +0800 |
---|---|---|
committer | justforlxz | 2022-03-20 01:17:49 +0800 |
commit | 1b4d80d64d94e867dbb14505445f9b71bff9191c (patch) | |
tree | e6123c3d693cd61c54dd2f6ed8dddffdd4d5adc6 /PKGBUILD | |
parent | c1fcd640962d5aeb4bd4e4d73696de2bf9d22ab8 (diff) | |
download | aur-1b4d80d64d94e867dbb14505445f9b71bff9191c.tar.gz |
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -13,9 +13,9 @@ pkgdesc='Deepin Wallpapers' arch=('any') license=('GPL') url="https://github.com/linuxdeepin/deepin-wallpapers" -makedepends=('deepin-api-git') +makedepends=('git' 'deepin-api-git') groups=('deepin-git') -source=("$pkgname::git://github.com/linuxdeepin/deepin-wallpapers/") +source=("$pkgname::git+https://github.com/linuxdeepin/deepin-wallpapers/") sha512sums=('SKIP') pkgver() { @@ -24,7 +24,11 @@ pkgver() { } prepare() { - cd $pkgbase + cd $pkgname + if [[ ! -z ${sha} ]];then + git checkout -b $sha + fi + cp -a "$srcdir"/$pkgbase{,-community} } |