summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: beb74b029fe4a870528ff504f8caf3308980fe0b (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
# Maintainer: Cain Atkinson <yellowsink@riseup.net>

pkgname=shelter
pkgver=0.0.1
pkgrel=2
pkgdesc="a flux interceptor with discord as a liability"
arch=('any')
url="https://github.com/uwu/shelter"
license=('CC0')
groups=()
depends=()
makedepends=()
source=("shelter-src::git+https://github.com/uwu/shelter")
sha256sums=("SKIP")

package() {
	# make dirs
	install -d "${pkgdir}"/usr/share/shelter/app
	install -d "${pkgdir}"/usr/share/libalpm/hooks

	# copy over scripts
	install -D shelter-src/injectors/linux-package-managers/scripts/* "${pkgdir}"/usr/share/shelter/

	# copy over hooks
	install -D shelter-src/injectors/linux-package-managers/arch-alpm-hooks/* "${pkgdir}"/usr/share/libalpm/hooks/

	# copy over shelter injector
	install -D shelter-src/injectors/desktop/app/* "${pkgdir}"/usr/share/shelter/app/
}