diff options
-rw-r--r-- | main/linux-firmware/APKBUILD | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/main/linux-firmware/APKBUILD b/main/linux-firmware/APKBUILD index 46cf9c202..c4b4d5a23 100644 --- a/main/linux-firmware/APKBUILD +++ b/main/linux-firmware/APKBUILD @@ -1,7 +1,7 @@ # Contributor: William Pitcock <nenolod@dereferenced.org> -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=linux-firmware -pkgver=20110311 +pkgver=20110826 pkgrel=0 pkgdesc="firmware files for linux" url="http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=summary" @@ -11,10 +11,27 @@ depends= makedepends= install="" subpackages= -source="http://nenolod.net/~nenolod/linux-firmware-${pkgver}.tar.bz2" +source="http://dev.alpinelinux.org/~ncopa/linux-firmware/linux-firmware-${pkgver}.tar.bz2" +_giturl="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git" +_upload=dev.alpinelinux.org:public_html/linux-firmware/ replaces="linux-grsec linux-vserver" _builddir="${srcdir}/${pkgname}" +snapshot() { + local _date=$(date +%Y%m%d) + local _pkg=$pkgname-$_date.tar.bz2 + cd "$srcdir" + rm -rf "$pkgname" + git clone --depth=1 $_giturl + tar --exclude .git -cjf $_pkg $pkgname + msg "New snapshot: $_pkg" + if [ -n "$_upload" ]; then + msg "Uploading to $_upload" + scp $_pkg $_upload || return 1 + abump $pkgname-$_date + fi +} + prepare() { return 0 } @@ -28,4 +45,4 @@ package() { mv "${_builddir}" ${pkgdir}/lib/firmware } -md5sums="1af2f89b00cc24b567551fcd8f4a327d linux-firmware-20110311.tar.bz2" +md5sums="3d881871622eb8c957d244060cd7f4a2 linux-firmware-20110826.tar.bz2" |