blob: 2c3757dfcae43b49eb9b1ec0c721f450e39d01bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Jothi Prasath <jothiprasath2@gmail.com>
pkgname=bash-scripts-git
pkgver=r31.4d168de
pkgrel=1
pkgdesc="A collection of bash scripts from https://github.com/jothi-prasath/bash-scripts"
arch=('any')
url="https://github.com/jothi-prasath/bash-scripts.git"
license=('MIT')
depends=('git' 'xclip' 'imagemagick' 'p7zip' 'tar' 'zip' 'xz' 'gzip' 'ffmpeg' 'cpupower' 'wireless_tools')
source=("$pkgname::git+$url")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/$pkgname"
rm .git .gitignore README.md LICENSE *.sh -rf
find . -type f -exec install -Dm755 {} "${pkgdir}/usr/bin/{}" \;
}
|