clemmy/PKGBUILD

20 lines
652 B
Bash
Raw Normal View History

2022-09-19 06:56:55 +10:00
# Maintainer: Zergling_man, from fedora.email
pkgname=clemmy
pkgver=0.1.0
pkgrel=2
2022-09-19 06:56:55 +10:00
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.
2022-09-19 06:56:55 +10:00
package() {
install -d ${pkgdir}/usr/bin ${pkgdir}/opt/clemmy
cp *.sh ${pkgdir}/opt/clemmy
2023-04-25 03:25:22 +10:00
cp -r commands ${pkgdir}/opt/clemmy/commands
ln -s ${pkgdir}/opt/clemmy/clemmy.sh ${pkgdir}/usr/bin/clemmy
2023-04-25 03:25:22 +10:00
chmod +x ${pkgdir}/opt/clemmy/clemmy.sh
2022-09-19 06:56:55 +10:00
}