[arch-commits] Commit in mtd-utils/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:21:48 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:21:48
  Author: felixonmars
Revision: 659224

archrelease: copy trunk to community-staging-x86_64

Added:
  mtd-utils/repos/community-staging-x86_64/
  mtd-utils/repos/community-staging-x86_64/PKGBUILD
    (from rev 659223, mtd-utils/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: mtd-utils/repos/community-staging-x86_64/PKGBUILD (from rev 659223, mtd-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:21:48 UTC (rev 659224)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Phil Pirozhkov <pirjsuka at gmail.com>
+
+pkgname=mtd-utils
+pkgver=2.1.1
+pkgrel=2
+pkgdesc='Utilities for dealing with MTD devices'
+url='http://www.linux-mtd.infradead.org/'
+arch=('x86_64')
+license=('GPL2')
+depends=('lzo' 'util-linux' 'zstd' 'zlib')
+makedepends=('cmocka')
+source=(ftp://ftp.infradead.org/pub/mtd-utils/${pkgname}-${pkgver}.tar.bz2{,.asc})
+sha512sums=('615b27f6c4c9f392715060467b5728aeb1e774256e661e2b84126464e69a5e1140646e2cf9d6e42d6279c6396c1b2204f545023e5be09d02afb1587d62c4399e'
+            'SKIP')
+validpgpkeys=('13063F723C9E584AEACD5B9BBCE5DC3C741A02D1')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  autoreconf -fiv
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --enable-unit-tests \
+    --enable-tests
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list