clemmy/PKGBUILD

19 lines
594 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
ln -s ${pkgdir}/opt/clemmy/clemmy.sh ${pkgdir}/usr/bin/clemmy
chmod +x ${pkgdir}/usr/bin/
}