[arch-commits] Commit in pkgfile/repos (6 files)
Dave Reisner
dreisner at nymeria.archlinux.org
Thu Feb 28 02:55:40 UTC 2013
Date: Thursday, February 28, 2013 @ 03:55:40
Author: dreisner
Revision: 178878
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
pkgfile/repos/staging-i686/
pkgfile/repos/staging-i686/PKGBUILD
(from rev 178877, pkgfile/trunk/PKGBUILD)
pkgfile/repos/staging-i686/pkgfile.install
(from rev 178877, pkgfile/trunk/pkgfile.install)
pkgfile/repos/staging-x86_64/
pkgfile/repos/staging-x86_64/PKGBUILD
(from rev 178877, pkgfile/trunk/PKGBUILD)
pkgfile/repos/staging-x86_64/pkgfile.install
(from rev 178877, pkgfile/trunk/pkgfile.install)
--------------------------------+
staging-i686/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-i686/pkgfile.install | 18 ++++++++++++++++++
staging-x86_64/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
staging-x86_64/pkgfile.install | 18 ++++++++++++++++++
4 files changed, 110 insertions(+)
Copied: pkgfile/repos/staging-i686/PKGBUILD (from rev 178877, pkgfile/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-02-28 02:55:40 UTC (rev 178878)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=pkgfile
+pkgver=8
+pkgrel=2
+pkgdesc="a pacman .files metadata explorer"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/pkgfile"
+license=('MIT')
+depends=('libarchive' 'curl' 'pcre' 'pacman')
+conflicts=('pkgtools<24-2')
+source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+install=pkgfile.install
+md5sums=('772d02872ddf112c5e24d6ad40e5623d'
+ '712c546c0291975e646a1d2170034e10')
+
+options=(!strip)
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure
+ 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/staging-i686/pkgfile.install (from rev 178877, pkgfile/trunk/pkgfile.install)
===================================================================
--- staging-i686/pkgfile.install (rev 0)
+++ staging-i686/pkgfile.install 2013-02-28 02:55:40 UTC (rev 178878)
@@ -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
+}
Copied: pkgfile/repos/staging-x86_64/PKGBUILD (from rev 178877, pkgfile/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-02-28 02:55:40 UTC (rev 178878)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=pkgfile
+pkgver=8
+pkgrel=2
+pkgdesc="a pacman .files metadata explorer"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/pkgfile"
+license=('MIT')
+depends=('libarchive' 'curl' 'pcre' 'pacman')
+conflicts=('pkgtools<24-2')
+source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+install=pkgfile.install
+md5sums=('772d02872ddf112c5e24d6ad40e5623d'
+ '712c546c0291975e646a1d2170034e10')
+
+options=(!strip)
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure
+ 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/staging-x86_64/pkgfile.install (from rev 178877, pkgfile/trunk/pkgfile.install)
===================================================================
--- staging-x86_64/pkgfile.install (rev 0)
+++ staging-x86_64/pkgfile.install 2013-02-28 02:55:40 UTC (rev 178878)
@@ -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