mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
compton-git: remove do_fetch in favor of distfiles
This commit is contained in:
parent
3d32ceb7e9
commit
bf64f261d5
1 changed files with 4 additions and 8 deletions
|
@ -11,18 +11,14 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://github.com/chjj/compton"
|
homepage="https://github.com/chjj/compton"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
short_desc="A compositor for X (fork of xcompmgr-dana)"
|
short_desc="A compositor for X (fork of xcompmgr-dana)"
|
||||||
|
_githash=316eac0613bf342ff91cc645a6c3c80e6b9083fb
|
||||||
|
distfiles="${homepage}/archive/${_githash}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=b0bb9dfcf47d21d6711c9544f01a92b8491b77d79c6462ec1ddfb4c7a930e9df
|
||||||
|
wrksrc="compton-${_githash}"
|
||||||
|
|
||||||
provides="compton-${version}_${revision}"
|
provides="compton-${version}_${revision}"
|
||||||
replaces="compton>=0"
|
replaces="compton>=0"
|
||||||
|
|
||||||
do_fetch() {
|
|
||||||
local url="git://github.com/chjj/compton.git"
|
|
||||||
msg_normal "Fetching source from $url ...\n"
|
|
||||||
git clone ${url} ${wrksrc}
|
|
||||||
cd ${wrksrc}
|
|
||||||
git reset --hard 316eac0613bf342ff91cc645a6c3c80e6b9083fb
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue