blob: dcaf9cf4221b0057ce5998efb6f28958e9554547 (
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
|
# Maintainer: ugjka <esesmu@protonmail.com>
_pkgname=zipper
pkgname="$_pkgname-git"
pkgver=20180303.a0490e9
pkgrel=1
pkgdesc='Zipper zips directories'
arch=('x86_64')
url="https://github.com/ugjka/${_pkgname}"
license=('MIT')
makedepends=('go' 'go-tools' 'git' 'make')
source=("$_pkgname"::"git+http://github.com/ugjka/${_pkgname}.git")
md5sums=('SKIP')
pkgver() {
cd $_pkgname
echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")"
}
build(){
cd $_pkgname
make prefix=/usr all
}
package(){
cd $_pkgname
make prefix="${pkgdir}"/usr install
make clean
}
|