Date: Saturday, August 11, 2018 @ 15:10:39
  Author: dreisner
Revision: 331383

archrelease: copy trunk to extra-x86_64

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

-----------------+
 PKGBUILD        |   67 ++++++++++++++++++++++++------------------------------
 pkgfile.install |   37 +++++++++++++++--------------
 2 files changed, 50 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-08-11 15:10:19 UTC (rev 331382)
+++ PKGBUILD    2018-08-11 15:10:39 UTC (rev 331383)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreis...@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?signed#tag=v$pkgver";)
-validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
-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

Copied: pkgfile/repos/extra-x86_64/PKGBUILD (from rev 331382, 
pkgfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-08-11 15:10:39 UTC (rev 331383)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Dave Reisner <dreis...@archlinux.org>
+
+pkgname=pkgfile
+pkgver=18
+pkgrel=2
+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?signed#tag=v$pkgver";)
+validpgpkeys=('487EACC08557AD082088DABA1EB2638FF56C0C53')  # Dave Reisner
+install=pkgfile.install
+md5sums=('SKIP')
+
+build() {
+  cd "$pkgname"
+
+  arch-meson build
+  ninja -v -C build
+}
+
+package() {
+  cd "$pkgname"
+
+  DESTDIR=$pkgdir ninja -C build install
+}
+
+# vim: ft=sh syn=sh

Deleted: pkgfile.install
===================================================================
--- pkgfile.install     2018-08-11 15:10:19 UTC (rev 331382)
+++ pkgfile.install     2018-08-11 15:10:39 UTC (rev 331383)
@@ -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 331382, 
pkgfile/trunk/pkgfile.install)
===================================================================
--- pkgfile.install                             (rev 0)
+++ pkgfile.install     2018-08-11 15:10:39 UTC (rev 331383)
@@ -0,0 +1,19 @@
+#!/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 "$1" 18-1)" -eq 1 ]; then
+    printf "==> Changing permissions on /var/cache/pkgfile from 775 to 755\n"
+    chmod 755 /var/cache/pkgfile
+  fi
+}

Reply via email to