mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
25 lines
No EOL
497 B
Text
Executable file
25 lines
No EOL
497 B
Text
Executable file
VERSION="1.1.0"
|
|
SRCDIR="mpc-$VERSION"
|
|
TARBALL="mpc-$VERSION.tar.gz"
|
|
URL="http://ftp.gnu.org/gnu/mpc"
|
|
SHA256SUM="6985c538143c1208dcb1ac42cedad6ff52e267b47e5f970183a3e75125b43c2e"
|
|
DEPENDS="tc-pkgtool"
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
return
|
|
}
|
|
|
|
deploy() {
|
|
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
|
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
|
|
}
|
|
|
|
check_update() {
|
|
curl --silent -L "$URL" | grep -o ">mpc-[0-9.]*tar.gz<" | \
|
|
sed 's/>mpc-//g' | sed 's/.tar.gz<//g' | \
|
|
verson_find_greatest "$VERSION"
|
|
} |