blob: 7e347fdf214de6599fb94ca48c6900aecaaa2312 (
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
30
|
# Maintainer: Mirko Rovere <04mirko@libero.it>
# Contributor: koraynilay <koray.fra@gmail.com>
pkgname="extrattor-git"
pkgver=r194.fda0d4e
pkgrel=1
pkgdesc="A simple bash wrapper to manage one or more archives from the terminal"
arch=("any")
url="https://github.com/Mirko-r/extrattor"
depends=('unarj' 'unace' 'p7zip' 'tar' 'pax' 'gzip' 'unzip' 'xz' 'zenity')
license=("GPL-3.0")
conflicts=("extrattor")
provides=('extrattor')
makedepends=('git')
source=("git+https://github.com/Mirko-r/extrattor.git")
sha512sums=("SKIP")
_name='extrattor'
pkgver() {
cd "$_name"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
package(){
install -Dm0755 "${srcdir}/extrattor/extrattor/extrattor.sh" "${pkgdir}/usr/bin/extrattor"
}
|