From 40ce451f06a0c82e300cdba84fa5353b9682c1be Mon Sep 17 00:00:00 2001
From: Michael Hanson <hansonorders@verizon.net>
Date: Tue, 30 Nov 2010 23:38:08 +0000
Subject: linux-atm: upgrade

---
 abs/core/linux-atm/PKGBUILD | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/abs/core/linux-atm/PKGBUILD b/abs/core/linux-atm/PKGBUILD
index 18cd3c8..f2c5a24 100644
--- a/abs/core/linux-atm/PKGBUILD
+++ b/abs/core/linux-atm/PKGBUILD
@@ -1,25 +1,26 @@
-# $Id: PKGBUILD 13520 2008-09-27 14:40:44Z tpowa $
+# $Id: PKGBUILD 79085 2010-04-30 07:29:32Z tpowa $
 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
 # Contributor: Surain Mallawa Arachchi <mas@crc32.net>
 
 pkgname=linux-atm
-pkgver=2.5.0
+pkgver=2.5.1
 pkgrel=1
 pkgdesc="Drivers and tools to support ATM networking under Linux."
 arch=('i686' 'x86_64')
 depends=('glibc')
-source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \
-	linux-atm-2.5.0-glibc28.patch) 
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz)
 url="http://linux-atm.sourceforge.net/"
 license=(GPL)
-options=(!libtool)
-md5sums=('0b45a0e801fac7093ce4b0cadf419965'
-         '2e195df66995d2feb9ccc602cbf399b2')
+options=(!libtool !makeflags)
+md5sums=('9560b0e1f410a05b849dfdab465dd758')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  patch -Np1 -i ../linux-atm-2.5.0-glibc28.patch || return 1
+  cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
 }
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+}
+
-- 
cgit v0.12

