Automated: update to 1:r6637-1

This commit is contained in:
Ivan Shapovalov 2015-02-25 11:03:55 +03:00
parent edb3113de8
commit e9a2c83a92
2 changed files with 23 additions and 8 deletions

View file

@ -1,7 +1,8 @@
pkgbase = superiotool-svn
pkgdesc = Detects the Super I/O of your mainboard and provides information about its register contents
pkgver = 6637
pkgver = r6637
pkgrel = 1
epoch = 1
url = http://www.coreboot.org/Superiotool
arch = i686
arch = x86_64

View file

@ -1,5 +1,8 @@
# Maintainer: Ivan Shapovalov <intelfx100@gmail.com>
pkgname=superiotool-svn
pkgver=6637
epoch=1
pkgver=r6637
pkgrel=1
pkgdesc="Detects the Super I/O of your mainboard and provides information about its register contents"
arch=(i686 x86_64)
@ -10,17 +13,28 @@ source=(svn://coreboot.org/coreboot/trunk/util/superiotool)
md5sums=(SKIP)
pkgver() {
cd "$SRCDEST/superiotool"
svnversion
cd superiotool
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
prepare() {
cd superiotool
# Makefile is broken #1
sed -re 's|/sbin|/bin|' -i Makefile
}
build() {
cd "$srcdir/superiotool"
make
cd superiotool
make
}
package() {
cd "$srcdir/superiotool"
make PREFIX=/usr DESTDIR="$pkgdir" install
cd superiotool
make PREFIX=/usr DESTDIR="$pkgdir" install
}