summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 83ecbe98bb78f57fb4b69ce00109f54923a5e7fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: bgkillas <bgkillas@gmail.com>
pkgname=p7zip-jinfeihan57-git
pkgdesc="Command-line file archiver with high compression ratio - jinfeihan57 fork"
pkgver=17.02
pkgrel=1
arch=('x86_64')
makedepends=('git')
depends=()
optdepends=()
provides=('p7zip')
conflicts=('p7zip')
url="https://github.com/jinfeihan57/p7zip"
license=('GNU LGPL')
source=('git+https://github.com/jinfeihan57/p7zip.git'
        '7z')
sha512sums=('SKIP'
            'SKIP')
build () {
cd p7zip
make 7z
}
package() {
mkdir -p "$pkgdir/usr/lib/p7zip/Codecs"
mkdir -p "$pkgdir/usr/bin"
install -Dm755 "7z" "$pkgdir/usr/bin/"
install -Dm755 "$srcdir/p7zip/bin/7z" "$pkgdir/usr/lib/p7zip/"
install -Dm755 "$srcdir/p7zip/bin/7z.so" "$pkgdir/usr/lib/p7zip/"
install -Dm755 "$srcdir/p7zip/bin/Codecs/Rar.so" "$pkgdir/usr/lib/p7zip/Codecs"
}