mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed extra/pkgfile
This commit is contained in:
parent
a097218ec2
commit
1dc2fdcc04
2 changed files with 0 additions and 62 deletions
|
@ -1,44 +0,0 @@
|
|||
# $Id$
|
||||
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - upstream patch, remove package when bumped
|
||||
|
||||
pkgname=pkgfile
|
||||
pkgver=13
|
||||
pkgrel=1.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=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
|
||||
'https://github.com/falconindy/pkgfile/commit/e66d942214143b2c105af3df7c7a7b961b80d832.patch')
|
||||
install=pkgfile.install
|
||||
md5sums=('7b4e20bf3ec6604cd439d5acd6ca871d'
|
||||
'SKIP'
|
||||
'7cfd0ab718d6cdaa674f57c89ca102d0')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
patch -p1 -i ../e66d942214143b2c105af3df7c7a7b961b80d832.patch
|
||||
}
|
||||
|
||||
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
|
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue