mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
0af05b343a
renamed checksums to kdeapps.sums added for all packages the pgp signature for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
34 lines
783 B
Bash
34 lines
783 B
Bash
# Maintainer: abveritas@chakra-project.org
|
|
# Contributor: Dave Reisner <dreisner@archlinux.org>
|
|
|
|
pkgname=pkgfile
|
|
pkgver=8
|
|
pkgrel=1
|
|
pkgdesc="a pacman .files metadata explorer"
|
|
arch=('x86_64')
|
|
url="http://github.com/falconindy/pkgfile"
|
|
license=('MIT')
|
|
depends=('libarchive' 'curl' 'pcre' 'pacman')
|
|
options=(!strip)
|
|
source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
|
|
install=pkgfile.install
|
|
md5sums=('772d02872ddf112c5e24d6ad40e5623d'
|
|
'712c546c0291975e646a1d2170034e10')
|
|
|
|
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"
|
|
}
|