clemmy/PKGBUILD

24 lines
696 B
Bash

# Maintainer: Zergling_man, from fedora.email
#Well, it seems to work now.
pkgname=clemmy
pkgver=0.2.0
pkgrel=2
pkgdesc='A pure bash client for lemmy, with multiaccount support.'
arch=('any')
url='http://precious.harpy.faith/Zergling_man/clemmy'
license=('GPL' 'custom:plusnigger.autism.exposed')
depends=('curl' 'jq')
makedepends=('git')
source=('git+http://precious.harpy.faith/Zergling_man/clemmy.git')
sha256sums=('SKIP') #Don't know how to use this on a repo.
package() {
cd ${pkgname}
install -d ${pkgdir}/usr/bin ${pkgdir}/opt/clemmy
rm -rf README.txt .git
cp -r . ${pkgdir}/opt/clemmy
ln -s /opt/clemmy/clemmy.sh ${pkgdir}/usr/bin/clemmy
chmod +x ${pkgdir}/opt/clemmy/clemmy.sh
}