[arch-commits] Commit in bmkdep/repos (community-x86_64 community-x86_64/PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Fri Jan 22 19:05:09 UTC 2021


    Date: Friday, January 22, 2021 @ 19:05:08
  Author: spupykin
Revision: 824870

archrelease: copy trunk to community-x86_64

Added:
  bmkdep/repos/community-x86_64/
  bmkdep/repos/community-x86_64/PKGBUILD
    (from rev 824869, bmkdep/trunk/PKGBUILD)

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

Copied: bmkdep/repos/community-x86_64/PKGBUILD (from rev 824869, bmkdep/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-01-22 19:05:08 UTC (rev 824870)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Contributor:: Andy Weidenbaum <archbaum at gmail.com>
+# Contributor: Artem Sheremet <dot.doom at gmail.com>
+# Maintainer: Stefan Husmann <stefan-husmann at t-online.de>
+
+pkgname=bmkdep
+pkgver=20140112
+pkgrel=3
+pkgdesc="NetBSD mkdep: construct Makefile dependency list"
+arch=('i686' 'x86_64')
+makedepends=('bmake')
+url="https://code.google.com/p/bmkdep"
+license=('BSD')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/trociny/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('b80039dc18ec070886e21e3c1ea4a16fc60c239bb922add8c70838d982598635')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  msg2 'Fixing Makefile...'
+  sed -i 's/MANDIR=/MANDIR?=/' Makefile
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  msg2 'Building...'
+  PREFIX=/usr bmake
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  msg2 'Installing...'
+  install -dm 755 "$pkgdir"/usr/bin
+  install -dm 755 "$pkgdir"/usr/share/man/cat1
+  PREFIX="$pkgdir/usr" MANDIR="$pkgdir"/usr/share/man bmake install
+
+  install -dm 755 "$pkgdir"/usr/share/licenses/$pkgname
+  head -n30 mkdep.c >"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list