[arch-commits] Commit in pkgfile/repos/extra-x86_64 (4 files)

Dave Reisner dreisner at archlinux.org
Sun Aug 5 17:17:48 UTC 2018


    Date: Sunday, August 5, 2018 @ 17:17:47
  Author: dreisner
Revision: 330615

archrelease: copy trunk to extra-x86_64

Added:
  pkgfile/repos/extra-x86_64/PKGBUILD
    (from rev 330614, pkgfile/trunk/PKGBUILD)
  pkgfile/repos/extra-x86_64/pkgfile.install
    (from rev 330614, pkgfile/trunk/pkgfile.install)
Deleted:
  pkgfile/repos/extra-x86_64/PKGBUILD
  pkgfile/repos/extra-x86_64/pkgfile.install

-----------------+
 PKGBUILD        |   71 ++++++++++++++++++++++++++----------------------------
 pkgfile.install |   36 +++++++++++++--------------
 2 files changed, 53 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-05 17:17:25 UTC (rev 330614)
+++ PKGBUILD	2018-08-05 17:17:47 UTC (rev 330615)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-
-pkgname=pkgfile
-pkgver=17
-pkgrel=1
-pkgdesc="a pacman .files metadata explorer"
-arch=('i686' 'x86_64')
-url="http://github.com/falconindy/pkgfile"
-license=('MIT')
-depends=('libarchive' 'curl' 'pcre' 'pacman')
-source=("https://pkgbuild.com/~dreisner/sources/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
-install=pkgfile.install
-validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
-md5sums=('c0ced1f0972891b41c9d84abcbf6bc1f'
-         'SKIP')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  ./configure \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-  make
-
-  # generate a license file
-  sed '/\*\//q' src/pkgfile.c >LICENSE
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim: ft=sh syn=sh

Copied: pkgfile/repos/extra-x86_64/PKGBUILD (from rev 330614, pkgfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-05 17:17:47 UTC (rev 330615)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=pkgfile
+pkgver=18
+pkgrel=1
+pkgdesc="a pacman .files metadata explorer"
+arch=('x86_64')
+url="http://github.com/falconindy/pkgfile"
+license=('MIT')
+depends=('libarchive' 'curl' 'pcre' 'pacman')
+makedepends=('git' 'meson')
+source=("git+https://github.com/falconindy/pkgfile#tag=v$pkgver")
+install=pkgfile.install
+md5sums=('SKIP')
+
+prepare() {
+  cd "$pkgname"
+
+  meson build -D buildtype=release
+}
+
+build() {
+  cd "$pkgname"
+
+  ninja -C build
+}
+
+package() {
+  cd "$pkgname"
+
+  DESTDIR=$pkgdir ninja -C build install
+}
+
+# vim: ft=sh syn=sh

Deleted: pkgfile.install
===================================================================
--- pkgfile.install	2018-08-05 17:17:25 UTC (rev 330614)
+++ pkgfile.install	2018-08-05 17:17:47 UTC (rev 330615)
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-post_install() {
-  printf "==> Run 'pkgfile --update' to initialize the database\n"
-}
-
-post_remove() {
-  # the cache dir might not be removed, notify the user
-  if [ -d var/cache/pkgfile ]; then
-    printf "==> /var/cache/pkgfile has not been removed\n"
-  fi
-}
-
-post_upgrade() {
-  if [ "$(vercmp 5 "$2")" -eq 1 ]; then
-    printf "==> DB format has changed. Please run pkgfile -uu\n"
-  fi
-}

Copied: pkgfile/repos/extra-x86_64/pkgfile.install (from rev 330614, pkgfile/trunk/pkgfile.install)
===================================================================
--- pkgfile.install	                        (rev 0)
+++ pkgfile.install	2018-08-05 17:17:47 UTC (rev 330615)
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+post_install() {
+  printf "==> Run 'pkgfile --update' to initialize the database\n"
+}
+
+post_remove() {
+  # the cache dir might not be removed, notify the user
+  if [ -d var/cache/pkgfile ]; then
+    printf "==> /var/cache/pkgfile has not been removed\n"
+  fi
+}
+
+post_upgrade() {
+  if [ "$(vercmp 5 "$2")" -eq 1 ]; then
+    printf "==> DB format has changed. Please run pkgfile -uu\n"
+  fi
+}



More information about the arch-commits mailing list