[arch-commits] Commit in elfutils/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Sat Mar 17 16:47:27 EDT 2012


    Date: Saturday, March 17, 2012 @ 16:47:26
  Author: eric
Revision: 153685

Add check function

Modified:
  elfutils/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-17 20:30:20 UTC (rev 153684)
+++ PKGBUILD	2012-03-17 20:47:26 UTC (rev 153685)
@@ -10,23 +10,25 @@
 url="https://fedorahosted.org/elfutils/"
 license=('GPL2')
 depends=('glibc')
-#optdepends=('zlib' 'xz' 'bzip2')
 provides=('libelf')
 replaces=('libelf')
 conflicts=('libelf')
-source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2)
-md5sums=('39739ed58a0fa1862eff8735f111fe5c')
+source=(https://fedorahosted.org/releases/e/l/elfutils/${pkgver}/elfutils-${pkgver}.tar.bz2{,.sig})
+md5sums=('39739ed58a0fa1862eff8735f111fe5c'
+         'aeb90c432a1bc1ada2f02cf555a11d87')
 
-build()
-{
+build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --program-prefix="eu-"
   make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make check
 }
 
-package()
-{
+package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list