clemmy/PKGBUILD
2023-04-25 03:25:22 +10:00

20 lines
652 B
Bash

# Maintainer: Zergling_man, from fedora.email
pkgname=clemmy
pkgver=0.1.0
pkgrel=2
pkgdesc='A pure bash client for lemmy, with multiaccount support.'
arch=('any')
url='https://gitea.rakka.tk/Zergling_man/clemmy'
license=('GPL' 'custom:plusnigger.autism.exposed')
depends=('curl' 'jq')
source=('git+https://gitea.rakka.tk/Zergling_man/clemmy.git')
sha256sums=('SKIP') #Don't know how to use this on a repo.
package() {
install -d ${pkgdir}/usr/bin ${pkgdir}/opt/clemmy
cp *.sh ${pkgdir}/opt/clemmy
cp -r commands ${pkgdir}/opt/clemmy/commands
ln -s ${pkgdir}/opt/clemmy/clemmy.sh ${pkgdir}/usr/bin/clemmy
chmod +x ${pkgdir}/opt/clemmy/clemmy.sh
}