[arch-commits] Commit in memtest86+/trunk (PKGBUILD memtest86+.install)

Eric Bélanger eric at archlinux.org
Sun Jul 4 16:57:27 EDT 2010


    Date: Sunday, July 4, 2010 @ 16:57:27
  Author: eric
Revision: 84840

upgpkg: memtest86+ 4.10-1
Upstream update, Cleaned up install scriptlet

Modified:
  memtest86+/trunk/PKGBUILD
  memtest86+/trunk/memtest86+.install

--------------------+
 PKGBUILD           |   14 +++++++-------
 memtest86+.install |   15 ---------------
 2 files changed, 7 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-04 19:27:13 UTC (rev 84839)
+++ PKGBUILD	2010-07-04 20:57:27 UTC (rev 84840)
@@ -2,17 +2,17 @@
 #Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 
 pkgname=memtest86+
-pkgver=4.00
+pkgver=4.10
 pkgrel=1
 pkgdesc="An advanced memory diagnostic tool"
-arch=(any)
+arch=('any')
 url="http://www.memtest.org"
 license=('GPL2')
-depends=()
-source=(http://www.memtest.org/download/$pkgver/$pkgname-$pkgver.bin.gz)
 install=memtest86+.install
+source=(http://www.memtest.org/download/${pkgver}/${pkgname}-${pkgver}.bin.gz)
+md5sums=('e5e7e79abe2fb948b83a523c248fe117')
+sha1sums=('852b05bf2258152882e1278985ba107bfceb282c')
 
-build() {
-   install -m644 -D $startdir/src/$pkgname-$pkgver.bin $startdir/pkg/boot/memtest86+/memtest.bin   
+package() {
+  install -m644 -D "${srcdir}/${pkgname}-${pkgver}.bin" "${pkgdir}/boot/memtest86+/memtest.bin"
 }
-md5sums=('1ef8fa4d0a33f3cc0befaa42b054ee4a')

Modified: memtest86+.install
===================================================================
--- memtest86+.install	2010-07-04 19:27:13 UTC (rev 84839)
+++ memtest86+.install	2010-07-04 20:57:27 UTC (rev 84840)
@@ -1,7 +1,3 @@
-# This is a default template for a post-install scriptlet.  You can
-# remove any functions you don't need (and this header).
-
-# arg 1:  the new package version
 post_install() {
 cat << EOF
 For using memtest86+ please modifiy your bootloaders.
@@ -20,19 +16,8 @@
 EOF
 }
 
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  post_install $1
-}
-
-# arg 1:  the old package version
 post_remove() {
 cat << EOF
 Please remove your additions from your bootloaders.
 EOF
 }
-
-op=$1
-shift
-$op $*



More information about the arch-commits mailing list