Merge pull request #858 from voidlinux/extract_update

Extract update
This commit is contained in:
Eivind Uggedal 2015-01-15 12:24:23 +01:00
commit 386a5384e7
761 changed files with 525 additions and 518 deletions

View File

@ -459,29 +459,29 @@ The following repository names are valid:
#### Checking for new upstream releases
For automatic checking of new versions, in some cases you need to define
these variables (in most cases, the sensible defaults work):
New upstream versions can be automatically checked using
`./xbps-src update-check <pkgname>`. In some cases you need to override
the sensible defaults by assigning the following variables in a `update`
file in the same directory as the relevant `template` file:
- `update_site` contains the URL where the version number is
- `site` contains the URL where the version number is
mentioned. If unset, defaults to `homepage` and the directories where
`distfiles` reside.
- `update_pkgname` is the package name the default pattern checks for.
If unset, defaults to `pkgname`.
- `pkgname` is the package name the default pattern checks for.
If unset, defaults to `pkgname` from the template.
- `update_pattern` is a perl-compatible regular expression
- `pattern` is a perl-compatible regular expression
matching the version number. Anchor the version number using `\K`
and `(?=...)`. Example: `update_pattern='<b>\K[\d.]+(?=</b>)'`, this
and `(?=...)`. Example: `pattern='<b>\K[\d.]+(?=</b>)'`, this
matches a version number enclosed in `<b>...</b>` tags.
- `update_ignore` is a space-separated list of shell globs that match
- `ignore` is a space-separated list of shell globs that match
version numbers which are not taken into account for checking newer
versions. Example: `update_ignore="*b*"`
versions. Example: `ignore="*b*"`
- `update_version` is the version number used to compare against
upstream versions. Example: `update_version=${version//./_}`
You can run such a check using `./xbps-src update-check <pkgname>`.
- `version` is the version number used to compare against
upstream versions. Example: `version=${version//./_}`
### build style scripts

View File

@ -9,7 +9,6 @@ unset -v make_cmd make_build_args make_install_args make_build_target make_insta
unset -v patch_args disable_parallel_build keep_libtool_archives
unset -v reverts subpackages makedepends hostmakedepends depends
unset -v build_options build_options_default bootstrap repository
unset -v update_pkgname update_site update_pattern update_ignore update_version
unset -v CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF

View File

@ -2,6 +2,15 @@
update_check() {
local i p url sfname lpname bbname githubname rx found_version consider
local update_override=$XBPS_SRCPKGDIR/$XBPS_TARGET_PKG/update
local original_pkgname=$pkgname
if [ -r $update_override ]; then
. $update_override
if [ "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
echo "using $XBPS_TARGET_PKG/update overrides" 1>&2
fi
fi
if ! type curl >/dev/null 2>&1; then
echo "ERROR: cannot find \`curl' executable!"
@ -9,50 +18,49 @@ update_check() {
fi
export LC_ALL=C
: ${update_pkgname:=$pkgname}
if [ -z "$update_site" ]; then
if [ -z "$site" ]; then
printf '%s\n' "$homepage"
for i in $distfiles; do
printf '%s\n' "${i%/*}/"
done
else
printf '%s\n' "$update_site"
printf '%s\n' "$site"
fi |
while IFS= read -r url; do
rx=
if [ -z "$update_site" ]; then
if [ -z "$site" ]; then
case "$url" in
*sourceforge.net/sourceforge*)
sfname="$(printf %s "$url" | cut -d/ -f5)"
url="http://sourceforge.net/projects/$sfname/rss?limit=200";;
*code.google.com*|*googlecode*)
url="http://code.google.com/p/$update_pkgname/downloads/list";;
url="http://code.google.com/p/$pkgname/downloads/list";;
*launchpad.net*)
lpname="$(printf %s "$url" | cut -d/ -f4)"
url="https://launchpad.net/$lpname/+download";;
*cpan.*)
update_pkgname=${update_pkgname#perl-};;
pkgname=${pkgname#perl-};;
*pypi.python.org*)
update_pkgname=${update_pkgname#python-};;
pkgname=${pkgname#python-};;
*github.com*)
githubname="$(printf %s "$url" | cut -d/ -f4,5)"
url="https://github.com/$githubname/tags"
rx='/archive/(v?|\Q'"$update_pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
rx='/archive/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
*bitbucket.org*)
bbname="$(printf %s "$url" | cut -d/ -f4,5)"
url="https://bitbucket.org/$bbname/downloads"
rx='/(get|downloads)/(v?|\Q'"$update_pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar\.gz")';;
*ftp.gnome.org*)
: ${update_pattern="$update_pkgname-\K[0-9]\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"}
url="http://ftp.gnome.org/pub/GNOME/sources/$update_pkgname/cache.json";;
: ${pattern="$pkgname-\K[0-9]\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"}
url="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/cache.json";;
*kernel.org/pub/linux/kernel/*)
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
esac
fi
rx=${update_pattern:-$rx}
rx=${rx:-'(?<!-)\b\Q'"$update_pkgname"'\E[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'}
rx=${pattern:-$rx}
rx=${rx:-'(?<!-)\b\Q'"$pkgname"'\E[-_]?((src|source)[-_])?\K([^-/_\s]*?\d[^-/_\s]*?)(?=(?:[-_.](?:src|source|orig))?\.(?:[jt]ar|shar|t[bglx]z|tbz2|zip))\b'}
if [ -n "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
echo "fetching $url" 1>&2
@ -62,14 +70,14 @@ update_check() {
done |
sort -Vu |
{
grep . || echo "NO VERSION found for $pkgname" 1>&2
grep . || echo "NO VERSION found for $original_pkgname" 1>&2
} |
while IFS= read -r found_version; do
if [ -n "$XBPS_UPDATE_CHECK_VERBOSE" ]; then
echo "found version $found_version"
fi
consider=true
p="$update_ignore "
p="$ignore "
while [ -n "$p" ]; do
i=${p%% *}
p=${p#* }
@ -82,10 +90,10 @@ update_check() {
esac
done
if $consider; then
xbps-uhelper cmpver "$pkgname-${update_version:-$version}_1" \
"$pkgname-$(printf %s "$found_version" | tr - .)_1"
xbps-uhelper cmpver "$original_pkgname-${version}_1" \
"$original_pkgname-$(printf %s "$found_version" | tr - .)_1"
if [ $? = 255 ]; then
echo "${pkgname}-${version} -> ${pkgname}-${found_version}"
echo "${original_pkgname}-${version} -> ${original_pkgname}-${found_version}"
fi
fi
done

View File

@ -6,7 +6,6 @@ short_desc="A Just-In-Time Compiler for Lua"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.luajit.org"
license="MIT"
update_site="http://luajit.org/download.html"
distfiles="http://luajit.org/download/$pkgname-$version.tar.gz"
checksum=55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79

1
srcpkgs/LuaJIT/update Normal file
View File

@ -0,0 +1 @@
site="http://luajit.org/download.html"

View File

@ -13,7 +13,5 @@ short_desc="MoinMoin, a Python clone of WikiWiki"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://moinmo.in"
license="GPL-2"
update_site="${homepage}/MoinMoinDownload"
update_pkgname=moin
distfiles="http://static.moinmo.in/files/moin-${version}.tar.gz"
checksum=a74ba7fd8cf09b9e8415a4c45d7389ea910c09932da50359ea9796e3a30911a6

2
srcpkgs/MoinMoin/update Normal file
View File

@ -0,0 +1,2 @@
site="${homepage}/MoinMoinDownload"
pkgname=moin

View File

@ -14,7 +14,6 @@ short_desc="Simple editor for Markdown and reStructuredText"
maintainer="Enno Boland <eb@s01.de>"
license="GPL-3"
homepage="http://retext.sourceforge.net"
update_ignore="*beta*"
distfiles="${SOURCEFORGE_SITE}/retext/ReText-${version%.*}/ReText-${version}.tar.gz"
checksum=a62f784f18bfcdad13969b8b15a8e92f57e930f23e93bfce1ab714e5ac77e939

1
srcpkgs/ReText/update Normal file
View File

@ -0,0 +1 @@
ignore="*beta*"

View File

@ -7,7 +7,6 @@ makedepends="ncurses-devel readline-devel>=6.3"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2"
homepage="http://abook.sourceforge.net/"
update_ignore="*pre* *rc*"
short_desc="text-based addressbook designed to use with mutt mail client"
distfiles="http://prdownloads.sourceforge.net/abook/${pkgname}-${version}.tar.gz"
checksum=0646f6311a94ad3341812a4de12a5a940a7a44d5cb6e9da5b0930aae9f44756e

1
srcpkgs/abook/update Normal file
View File

@ -0,0 +1 @@
ignore="*pre* *rc*"

View File

@ -9,8 +9,6 @@ short_desc="Intel ACPI CA Unix utilities"
homepage="https://www.acpica.org/"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
update_site="https://acpica.org/downloads"
update_pkgname="acpica-unix"
distfiles="http://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz"
checksum=f2f72e4f4d1eb40a7d5bf23512e3733b15e708ede40ed362d0fb563a5e8d64cc

View File

@ -0,0 +1,2 @@
site="https://acpica.org/downloads"
pkgname="acpica-unix"

View File

@ -9,8 +9,6 @@ makedepends="freetype-devel SDL-devel"
short_desc="A High Quality Rendering Engine for C++"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.antigrain.com/"
update_site="http://www.antigrain.com/download/index.html"
update_ignore="21 22 23 2web"
license="GPL-2"
distfiles="http://www.antigrain.com/agg-${version}.tar.gz"
checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f

2
srcpkgs/agg/update Normal file
View File

@ -0,0 +1,2 @@
site="http://www.antigrain.com/download/index.html"
ignore="21 22 23 2web"

View File

@ -16,4 +16,3 @@ maintainer="Jan S. <jan.schreib@gmail.com>"
license="GPL-2"
distfiles="http://download.aircrack-ng.org/${pkgname}-${_aircrack_ver}-${_aircrack_rc}.tar.gz"
checksum=cf3134521e1c3d7aed4e384e3e5e7b6959e2d485bd1554474608a3a9328e35fd
update_pattern="Latest version: \K[^<]*(?=<.*)"

View File

@ -0,0 +1 @@
pattern="Latest version: \K[^<]*(?=<.*)"

View File

@ -14,8 +14,6 @@ short_desc="Portable library mainly aimed at video game and multimedia programmi
maintainer="Juan RP <xtraeme@gmail.com>"
license="Allegro License (MIT alike)"
homepage="http://alleg.sourceforge.net/"
update_pkgname=allegro
update_ignore='5.*'
distfiles="${SOURCEFORGE_SITE}/alleg/allegro-$version.tar.gz"
checksum=1b21e7577dbfada02d85ca4510bd22fedaa6ce76fde7f4838c7c1276eb840fdc
nocross=yes

2
srcpkgs/allegro4/update Normal file
View File

@ -0,0 +1,2 @@
pkgname=allegro
ignore='5.*'

View File

@ -10,8 +10,6 @@ short_desc="Android platform tools (adb and fastboot)"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="Apache-2.0 BSD"
homepage="http://developer.android.com/tools/help/adb.html"
update_site="https://android.googlesource.com/platform/system/core"
update_pattern='android-\K[\d._r]+'
do_fetch() {
local r

View File

@ -0,0 +1,2 @@
site="https://android.googlesource.com/platform/system/core"
pattern='android-\K[\d._r]+'

View File

@ -8,8 +8,6 @@ short_desc="LDAP browser and directory client"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="Apache-2.0"
homepage="http://directory.apache.org/studio/"
update_site="http://directory.apache.org/studio/download/download-linux.html"
update_pattern='ApacheDirectoryStudio-linux-x86_64-\K[\d.]+v[\d.]+'
only_for_archs="i686 x86_64"
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then

View File

@ -0,0 +1,2 @@
site="http://directory.apache.org/studio/download/download-linux.html"
pattern='ApacheDirectoryStudio-linux-x86_64-\K[\d.]+v[\d.]+'

View File

@ -6,7 +6,6 @@ short_desc="Java print formatter driven by XSL formatting objects (XSL-FO) and a
maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
license="Apache-2.0"
homepage="http://xmlgraphics.apache.org/fop/"
update_pkgname="fop"
distfiles="http://mirror.dkd.de/apache/xmlgraphics/fop/source/fop-${version}-src.tar.gz
http://mirror.dkd.de/apache/xmlgraphics/fop/binaries/fop-${version}-bin.tar.gz"
checksum="58164cb3298d130522ecd445b8082c71c36242ea6464c8f02ab4157e4a332522

View File

@ -0,0 +1 @@
pkgname="fop"

View File

@ -41,8 +41,6 @@ conf_files="
short_desc="The Number One HTTP Server On The Internet"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://httpd.apache.org/"
update_site="http://httpd.apache.org/download.cgi"
update_pattern='httpd-\K[\d.]+'
license="Apache-2.0"
distfiles="http://www.apache.org/dist/httpd/httpd-${version}.tar.bz2"
checksum=176c4dac1a745f07b7b91e7f4fd48f9c48049fa6f088efe758d61d9738669c6a

2
srcpkgs/apache/update Normal file
View File

@ -0,0 +1,2 @@
site="http://httpd.apache.org/download.cgi"
pattern='httpd-\K[\d.]+'

View File

@ -4,8 +4,6 @@ version=2.2.3
revision=3
short_desc="Automated Password Generator"
homepage="http://www.adel.nursat.kz/apg/"
update_site="http://www.adel.nursat.kz/apg/download.shtml"
update_ignore="*b"
license="BSD"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.adel.nursat.kz/apg/download/apg-$version.tar.gz"

2
srcpkgs/apg/update Normal file
View File

@ -0,0 +1,2 @@
site="http://www.adel.nursat.kz/apg/download.shtml"
ignore="*b"

View File

@ -9,8 +9,6 @@ build_style="gnu-configure"
maintainer="Enno Boland <eb@s01.de>"
license="LGPL"
homepage="http://www.aquamaniac.de/aqbanking"
update_site="http://www.aquamaniac.de/sites/download/packages.php"
update_pattern='aqbanking-\K[\d.]+(-git)?'
short_desc="A library for online banking and financial applications"
distfiles="http://www2.aquamaniac.de/sites/download/download.php?package=03&release=${_dnrel}&file=01&dummy=aqbanking-$version.tar.gz"
checksum=238f17d27d86e0cef239479c4be152cb98f5be9d6b87fca38741d32e762faddf

2
srcpkgs/aqbanking/update Normal file
View File

@ -0,0 +1,2 @@
site="http://www.aquamaniac.de/sites/download/packages.php"
pattern='aqbanking-\K[\d.]+(-git)?'

View File

@ -9,8 +9,6 @@ short_desc="ICC compatible color management system"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, AGPL"
homepage="http://www.argyllcms.com/"
update_site="http://www.argyllcms.com/downloadsrc.html"
update_pattern='Argyll_V\K[\d.]+'
distfiles="http://www.argyllcms.com/Argyll_V${version}_src.zip"
checksum=188beaa03dd2459403415023f8f8f9aab362bf3062a9822b3622dde6902e4b84

2
srcpkgs/argyllcms/update Normal file
View File

@ -0,0 +1,2 @@
site="http://www.argyllcms.com/downloadsrc.html"
pattern='Argyll_V\K[\d.]+'

View File

@ -13,7 +13,6 @@ license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/artwizaleczapka/artwiz-aleczapka-en-$version.tar.bz2
${SOURCEFORGE_SITE}/artwizaleczapka/artwiz-aleczapka-de-$version.tar.bz2
${SOURCEFORGE_SITE}/artwizaleczapka/artwiz-aleczapka-se-$version.tar.bz2"
update_pkgname="artwiz-aleczapka-en"
checksum="19f163de81548db9b9dd7d3a415fba379f1d17989020236aa4eb88c25929afe1
09096f0bd449c388f4c7f8ab0f9ebd7823dd8ede6baa5521a804e179020d1b20
f2e12338be85957fa36c013551fe06e0988141da3b817ffc63be15ffbe47cfc7"

View File

@ -0,0 +1 @@
pkgname="artwiz-aleczapka-en"

View File

@ -11,6 +11,5 @@ short_desc="German dictionary for aspell"
homepage="http://aspell.net/"
license="GPL-2"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
update_pattern='aspell6-de-\K[\d.]+\d+'
distfiles="${GNU_SITE}/aspell/dict/de/aspell6-de-${version}-1.tar.bz2"
checksum=ba6c94e11bc2e0e6e43ce0f7822c5bba5ca5ac77129ef90c190b33632416e906

1
srcpkgs/aspell-de/update Normal file
View File

@ -0,0 +1 @@
pattern='aspell6-de-\K[\d.]+\d+'

View File

@ -11,6 +11,5 @@ short_desc="English dictionary for aspell"
homepage="http://aspell.net/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
update_pattern="aspell6-en-\K[\d.-]+"
distfiles="${GNU_SITE}/aspell/dict/en/aspell6-en-${version}-0.tar.bz2"
checksum=ff9df3c2e8c5bb19c6a66078b36a0ef4c4dfb0fcb969e29f7b5345e26d748d0a

1
srcpkgs/aspell-en/update Normal file
View File

@ -0,0 +1 @@
pattern="aspell6-en-\K[\d.-]+"

View File

@ -9,7 +9,6 @@ short_desc="A free, fast and small automatic formatter for C, C++, C#, and Java
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="http://astyle.sourceforge.net"
update_pattern='astyle_\K[\d.]+(?=_linux)'
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz"
checksum=fbdfc6f1966a972d19a215927266c76d4183eee235ed1e2bd7ec551c2a270eac

1
srcpkgs/astyle/update Normal file
View File

@ -0,0 +1 @@
pattern='astyle_\K[\d.]+(?=_linux)'

View File

@ -11,7 +11,6 @@ short_desc="A system and process level monitor"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.atoptool.nl/"
update_site="http://www.atoptool.nl/downloadatop.php"
distfiles="http://www.atoptool.nl/download/$pkgname-$version.tar.gz"
checksum=a620dbe0de7c7ee004949b201bed27559a8dd6cbdee651c7a3e15fc584723409

1
srcpkgs/atop/update Normal file
View File

@ -0,0 +1 @@
site="http://www.atoptool.nl/downloadatop.php"

View File

@ -17,8 +17,6 @@ short_desc="Graphical cross-platform audio editor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://audacity.sourceforge.net/"
update_site="http://audacity.sourceforge.net/download/source"
update_pattern='audacity-minsrc-\K[\d.]+\d+'
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-minsrc-$version.tar.xz"
checksum=3080c190e678e0d682961a36c6e990c572dacd6b5ce499e5cec7362e9fa37d7b

2
srcpkgs/audacity/update Normal file
View File

@ -0,0 +1,2 @@
site="http://audacity.sourceforge.net/download/source"
pattern='audacity-minsrc-\K[\d.]+\d+'

View File

@ -22,7 +22,6 @@ short_desc="Service discover user interface for avahi"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.avahi.org"
update_pkgname="avahi"
distfiles="$homepage/download/avahi-$version.tar.gz"
checksum=8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48

View File

@ -0,0 +1 @@
pkgname="avahi"

View File

@ -10,7 +10,6 @@ maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="Public Domain"
homepage="https://blake2.net/"
distfiles="https://blake2.net/blake2_code_${version}.zip"
update_pkgname="blake2_code"
checksum=456e6ac99ed4661ef8502526b0927f790699d232fbaf5b0ddbe3a64cc8d612e9
do_build() {

1
srcpkgs/b2sum/update Normal file
View File

@ -0,0 +1 @@
pkgname="blake2_code"

View File

@ -13,7 +13,6 @@ depends="hicolor-icon-theme desktop-file-utils"
short_desc="An email client for GNOME"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://pawsa.fedorapeople.org/balsa/"
update_site="https://pawsa.fedorapeople.org/balsa/download.html"
license="GPL-2"
distfiles="http://pawsa.fedorapeople.org/balsa/balsa-${version}.tar.bz2"
checksum=52ce445dca86eb42e2e402a5b76616a1a522b89acbb631215079022ef80a7a10

1
srcpkgs/balsa/update Normal file
View File

@ -0,0 +1 @@
site="https://pawsa.fedorapeople.org/balsa/download.html"

View File

@ -7,8 +7,6 @@ short_desc="A fast and flexible build system using Lua"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="custom"
homepage="http://github.com/matricks/bam"
update_site="http://matricks.github.io/bam/"
update_pattern='bam-\K[\d.]+\d+'
distfiles="https://github.com/downloads/matricks/bam/${pkgname}-${version}.tar.gz"
checksum=5e4e4920b4d265da582f66774e9b1ec8ddfbe75ddc028fba86c12f686ea18db3

2
srcpkgs/bam/update Normal file
View File

@ -0,0 +1,2 @@
site="http://matricks.github.io/bam/"
pattern='bam-\K[\d.]+\d+'

View File

@ -10,7 +10,6 @@ short_desc="Programmable completion for the GNU Bash shell"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://bash-completion.alioth.debian.org/"
update_ignore="2008*"
distfiles="http://${pkgname}.alioth.debian.org/files/${pkgname}-${version}.tar.bz2"
checksum=2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f

View File

@ -0,0 +1 @@
ignore="2008*"

View File

@ -12,7 +12,6 @@ depends="ocl-icd"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.freedesktop.org/wiki/Software/Beignet/"
update_site="https://01.org/beignet/downloads"
distfiles="https://01.org/sites/default/files/${pkgname}-${version}-source.tar.gz"
checksum=e30c4d0f4c8917fa0df2467b2d70a4ee524f28d54c42c582262d5f08928ea543

1
srcpkgs/beignet/update Normal file
View File

@ -0,0 +1 @@
site="https://01.org/beignet/downloads"

View File

@ -9,7 +9,6 @@ short_desc="Console hex viewer/editor and disassembler"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://beye.sourceforge.net/"
update_pattern='biew/\K[\d.]+'
distfiles="${SOURCEFORGE_SITE}/beye/${pkgname}/${version}/${pkgname}-${_shortversion}-src.tar.bz2"
checksum=2e85f03c908dd6ec832461fbfbc79169a33f4caccf48c8fe60cbd29f5fb06d17
nocross=yes

1
srcpkgs/biew/update Normal file
View File

@ -0,0 +1 @@
pattern='biew/\K[\d.]+'

View File

@ -9,8 +9,6 @@ short_desc="Berkeley Internet Name Domain server"
maintainer="Juan RP <xtraeme@gmail.com>"
license="ISC"
homepage="http://www.isc.org/software/bind/"
update_site="http://ftp.isc.org/isc/bind9/"
update_pattern="9\.[\d.]+(?=/)"
distfiles="http://ftp.isc.org/isc/bind9/${_distver}-${_patchver}/bind-${_distver}-${_patchver}.tar.gz"
checksum=dfedcb2b414d2803accd1a9c21d183178a288f40a2486af5ec0d3369a8cb8526

2
srcpkgs/bind/update Normal file
View File

@ -0,0 +1,2 @@
site="http://ftp.isc.org/isc/bind9/"
pattern="9\.[\d.]+(?=/)"

View File

@ -9,8 +9,6 @@ short_desc="Bitcoin is a peer-to-peer network based digital currency"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.bitcoin.org/"
update_site="https://bitcoin.org/en/download"
update_pattern='bitcoin-\K[\d.]+(?=-linux.tar.gz)'
distfiles="http://bitcoin.org/bin/${version}/bitcoin-${version}-linux.tar.gz"
checksum=c425783b6cbab9b801ad6a1dcc9235828b98e5dee6675112741f8b210e4f65cd

2
srcpkgs/bitcoin/update Normal file
View File

@ -0,0 +1,2 @@
site="https://bitcoin.org/en/download"
pattern='bitcoin-\K[\d.]+(?=-linux.tar.gz)'

View File

@ -7,8 +7,6 @@ makedepends="zlib-devel bzip2-devel icu-devel>=54"
short_desc="Free peer-reviewed portable C++ source libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.boost.org/"
update_site="http://www.boost.org/users/download/"
update_pattern='Version \K[\d.]+(?! beta)(?=<)'
license="Boost Software License 1.0"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version//\./_}.tar.bz2"
checksum=047e927de336af106a24bceba30069980c191529fd76b8dff8eb9a328b48ae1d

2
srcpkgs/boost/update Normal file
View File

@ -0,0 +1,2 @@
site="http://www.boost.org/users/download/"
pattern='Version \K[\d.]+(?! beta)(?=<)'

View File

@ -8,8 +8,6 @@ short_desc="Layer2 ethernet bridging for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge"
update_pkgname="bridge"
update_pattern="bridge-utils-\K[\d.]+"
distfiles="${SOURCEFORGE_SITE}/bridge/$pkgname-$version.tar.gz"
checksum=42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688

View File

@ -0,0 +1,2 @@
pkgname="bridge"
pattern="bridge-utils-\K[\d.]+"

View File

@ -11,8 +11,6 @@ short_desc="Btrfs filesystem utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://btrfs.wiki.kernel.org/"
update_pattern=$pkgname' \K[\d+.]+(?= \()'
update_version="${_distver}"
do_fetch() {
git clone -b v${_distver} git://git.kernel.org/pub/scm/linux/kernel/git/kdave/${pkgname}.git ${pkgname}-${version}

View File

@ -0,0 +1,2 @@
pattern=$pkgname' \K[\d+.]+(?= \()'
version="${_distver}"

View File

@ -13,7 +13,6 @@ short_desc="A 3D Collision Detection and Rigid Body Dynamics Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="zlib"
homepage="http://www.bulletphysics.com/Bullet/"
update_pattern='bullet-\K[\d.]+-r\d+'
distfiles="http://bullet.googlecode.com/files/${pkgname}-${_distver}-${_revver}.tgz"
checksum=67e4c9eb76f7adf99501d726d8ad5e9b525dfd0843fbce9ca73aaca4ba9eced2

1
srcpkgs/bullet/update Normal file
View File

@ -0,0 +1 @@
pattern='bullet-\K[\d.]+-r\d+'

View File

@ -21,7 +21,6 @@ system_groups="bumblebee"
short_desc="NVIDIA Optimus support for Linux through VirtualGL"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.bumblebee-project.org/"
update_site="http://www.bumblebee-project.org/install.html"
license="GPL-3"
distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz"
checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e

1
srcpkgs/bumblebee/update Normal file
View File

@ -0,0 +1 @@
site="http://www.bumblebee-project.org/install.html"

View File

@ -5,7 +5,6 @@ revision=9
bootstrap=yes
replaces="chroot-bzip2>=0"
homepage="http://www.bzip.org"
update_site="http://www.bzip.org/downloads.html"
distfiles="http://www.bzip.org/$version/$pkgname-$version.tar.gz"
short_desc="The bzip2 compression library"
license="BSD"

1
srcpkgs/bzip2/update Normal file
View File

@ -0,0 +1 @@
site="http://www.bzip.org/downloads.html"

View File

@ -11,7 +11,6 @@ short_desc="Distributed version control system that Just Works"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://bazaar.canonical.com"
update_ignore="*b*"
distfiles="http://launchpad.net/bzr/2.6/$version/+download/bzr-$version.tar.gz"
checksum=0994797182eb828867eee81cccc79480bd2946c99304266bc427b902cf91dab0

1
srcpkgs/bzr/update Normal file
View File

@ -0,0 +1 @@
ignore="*b*"

View File

@ -22,7 +22,6 @@ build_wrksrc="fglrx-${version}"
XBPS_FETCH_CMD="wget --referer='http://support.amd.com/en-us/download/desktop?os=Linux+x86' "
update_pkgname="amd-catalyst-omega"
distfiles="http://www2.ati.com/drivers/linux/amd-catalyst-omega-${_distver}-linux-run-installers.zip"
checksum=68669836f20ad4351e08b13c5766c6b2ffc6b8cd2a37e9baf55779da32d3a249

1
srcpkgs/catalyst/update Normal file
View File

@ -0,0 +1 @@
pkgname="amd-catalyst-omega"

View File

@ -7,8 +7,6 @@ hostmakedepends="libtool automake"
build_style=gnu-configure
short_desc="CDDA reading utility with extra data verification features"
homepage="https://www.xiph.org/paranoia/"
update_pkgname="cdparanoia-III"
update_ignore="alpha* *pre*"
license="GPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://downloads.xiph.org/releases/$pkgname/$pkgname-III-$version.src.tgz"

View File

@ -0,0 +1,2 @@
pkgname="cdparanoia-III"
ignore="alpha* *pre*"

View File

@ -6,8 +6,6 @@ short_desc="free space simulation using GLUT"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="http://www.shatters.net/celestia/"
update_pkgname="celestia"
update_ignore="103 104 107"
distfiles="${SOURCEFORGE_SITE}/celestia/celestia-${version}.tar.gz"
checksum="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4"
build_style=gnu-configure

View File

@ -0,0 +1,2 @@
pkgname="celestia"
ignore="103 104 107"

View File

@ -6,8 +6,6 @@ short_desc="free space simulation using GTK"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2"
homepage="http://www.shatters.net/celestia/"
update_pkgname="celestia"
update_ignore="103 104 107"
distfiles="${SOURCEFORGE_SITE}/celestia/celestia-${version}.tar.gz"
checksum="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4"
build_style=gnu-configure

View File

@ -0,0 +1,2 @@
pkgname="celestia"
ignore="103 104 107"

View File

@ -17,7 +17,6 @@ short_desc="Sets your computer's clock from time servers on the Net"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://chrony.tuxfamily.org/"
update_ignore="*oldcvs*"
distfiles="http://download.tuxfamily.org/chrony/$pkgname-$version.tar.gz"
checksum=a35e1cae46ecbe14af2023bb47a72a03d79591b2ff65f0072b3400153224996d

1
srcpkgs/chrony/update Normal file
View File

@ -0,0 +1 @@
ignore="*oldcvs*"

View File

@ -18,8 +18,6 @@ depends="lib${sourcepkg}>=${version}_${revision} GConf cinnamon-settings-daemon
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
build_options="systemd"

View File

@ -0,0 +1,2 @@
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'

View File

@ -12,8 +12,6 @@ depends="xkeyboard-config"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}

View File

@ -0,0 +1,2 @@
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'

View File

@ -10,8 +10,6 @@ makedepends="glib-devel gnome-common gobject-introspection"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}

View File

@ -0,0 +1,2 @@
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'

View File

@ -16,8 +16,6 @@ conf_files="/etc/pam.d/${pkgname}"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
build_options="systemd"

View File

@ -0,0 +1,2 @@
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'

View File

@ -15,8 +15,6 @@ depends="cinnamon-desktop desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
build_options="systemd"

View File

@ -0,0 +1,2 @@
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'

View File

@ -17,8 +17,6 @@ depends="desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
build_options="systemd"

View File

@ -0,0 +1,2 @@
site="https://api.github.com/repos/linuxmint/$pkgname/tags"
pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'

View File

@ -8,8 +8,6 @@ short_desc="Translations for Cinnamon and Nemo"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
update_site="https://api.github.com/repos/linuxmint/$pkgname/tags"
update_pattern='"name":\s*"\K[^\d]*([\d\.]+)(?=")'
do_fetch() {
git clone -b ${version} git://github.com/linuxmint/${pkgname} ${pkgname}-${version}

Some files were not shown because too many files have changed in this diff Show More