summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aee51fcb44147226f9365b7599eb0fbd532f7b55 (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
# Maintainer: TechieDamien <damien@techiedamien.xyz>
pkgname=i3-utils
pkgver=1.0.1
pkgrel=2
pkgdesc="A bunch of scripts to make using i3 easier."
arch=('any')
url="https://github.com/tasinet/i3-utils"
license=('unknown')
depends=('jq')
makedepends=('git')
source=("git+https://github.com/tasinet/i3-utils.git")
md5sums=(SKIP)

prepare() {
        cd "$pkgname"
        for i in *.sh; do
            sed "s/\.\///g" $i > $i.new
            mv $i.new $i
        done
}            

package() {
	cd "$pkgname"
        mkdir -p "$pkgdir/usr/bin/"
	install *.sh "$pkgdir/usr/bin/"
}