summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bc1251d1bb41174cd30b27281e3de8aff93644aa (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
# Maintainer: 'Scott Hamilton <sgn DOT hamilton PLUS archlinux AT protonmail DOT com>'
# Packager: 'Scott Hamilton <sgn DOT hamilton PLUS archlinux AT protonmail DOT com>'

pkgname=monetcours
pkgdesc="A toolchain for creating class subjects webpages and more."
pkgver=1.1.5
pkgrel=1.0
epoch=
arch=('any')
url="https://scott-hamilton.github.io/"
license=('Apache')
groups=()
depends=( 'coreutils>=8.31' 'findutils>=4.7.0' 'gawk>=5.0.1' 'parallel' 'perl>=5.10.0' 'perl-pdf-api2' 'zip>=3.0' 'python-yaml')
makedepends=()
checkdepends=()
optdepends=()
provides=('monetcours')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/SCOTT-HAMILTON/Monetcours-linux/archive/$pkgver.tar.gz")
#source=("$pkgver.tar.gz")
noextract=()
md5sums=('16d217effd3ae59cf5bbcbc33f28aa82')
validpgpkeys=()

package() {
	mkdir -p "$pkgdir/usr/bin"
	mkdir -p "$pkgdir/usr/share/monetcours"
	ls "$srcdir"
	find "$srcdir/Monetcours-linux-$pkgver/"  -not -path '*/\.*' -type f | grep -E "*.sh$|*.pl$|*.py$" | xargs -n1 -L1 -r -I{} mv {} "$pkgdir/usr/bin"
	find "$srcdir/Monetcours-linux-$pkgver/"  -not -path '*/\.*' -type f | grep -E -v "*.sh$|*.pl$|*.py$" | xargs -n1 -L1 -r -I{} mv {} "$pkgdir/usr/share/monetcours"
}