Skip to content
Snippets Groups Projects
Commit f8cd5e34 authored by Yann Jorelle's avatar Yann Jorelle
Browse files

Fix PKGBUILD

Resolves #7
parent 772abe9e
No related branches found
No related tags found
1 merge request!6Fix PKGBUILD
# Maintainer: Phoney Badger <badgerphoney at gmail dot com>
pkgname=pokemon-colorscripts-git
_pkgname=pokemon-colorscripts
pkgver=r54.356ccaa
pkgver=r81.772abe9
pkgrel=1
pkgdesc="CLI utility that prints unicode sprites of pokemon to the terminal"
arch=('any')
......@@ -21,9 +21,11 @@ package() {
cd "$_pkgname"
# Creating necessary directories and copying files
rm -rf "$pkgdir/usr/local/opt/$_pkgname"
mkdir -p "$pkgdir/usr/local/opt/$_pkgname/colorscripts"
mkdir -p "$pkgdir/usr/local/opt/$_pkgname/colorscripts/regular"
mkdir -p "$pkgdir/usr/local/opt/$_pkgname/colorscripts/shiny"
mkdir -p "$pkgdir/usr/local/bin"
install -Dm644 colorscripts/* -t "$pkgdir/usr/local/opt/$_pkgname/colorscripts"
install -Dm644 colorscripts/regular/* -t "$pkgdir/usr/local/opt/$_pkgname/colorscripts/regular"
install -Dm644 colorscripts/shiny/* -t "$pkgdir/usr/local/opt/$_pkgname/colorscripts/shiny"
install -Dm644 nameslist.txt "$pkgdir/usr/local/opt/$_pkgname/nameslist.txt"
install -Dm755 pokemon-colorscripts.sh "$pkgdir/usr/local/opt/$_pkgname/pokemon-colorscripts.sh"
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment