blob: 15b62cacbfb13ae476edd92a6e52842156585e88 (
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
31
32
33
34
35
36
37
38
|
# Maintainer: Sebastian Wilzbach <sebi at wilzbach dot me>
pkgname=shell-tools-git
_pkgname=shell-tools
pkgrel=1
pkgver=v1
pkgdesc="collection of commonly used shell function"
arch=('any')
url="https://github.com/greenify/shell-tools"
license=('GPL3')
groups=()
depends=('xorg-xrandr' 'bash' 'findutils' 'gawk')
makedepends=('git')
optdepends=()
source=('git+https://github.com/greenify/shell-tools')
package() {
cd $_pkgname
# binaries
mkdir -p $pkgdir/usr/bin/
# copy all executables
find . -executable -not -path '*/\.*' -type f -exec cp {} $pkgdir/usr/bin \;
# shared
mkdir -p $pkgdir/usr/share/$_pkgname
cp README.md $pkgdir/usr/share/$_pkgname
cp LICENSE $pkgdir/usr/share/$_pkgname
}
pkgver() {
cd $_pkgname
echo "v"$(git rev-list --count master)
}
md5sums=('SKIP')
# vim:set ts=2 sw=2 et:
|