clemmy/PKGBUILD

21 lines
660 B
Bash
Raw Normal View History

2022-09-19 06:56:55 +10:00
# Maintainer: Zergling_man, from fedora.email
2023-06-02 10:58:31 +10:00
#Well, it seems to work now.
2022-09-19 06:56:55 +10:00
pkgname=clemmy
2023-06-02 10:58:31 +10:00
pkgver=0.1.1
pkgrel=2
2022-09-19 06:56:55 +10:00
pkgdesc='A pure bash client for lemmy, with multiaccount support.'
arch=('any')
url='http://precious.harpy.faith/Zergling_man/clemmy'
2022-09-19 06:56:55 +10:00
license=('GPL' 'custom:plusnigger.autism.exposed')
depends=('curl' 'jq')
2023-06-02 10:58:31 +10:00
source=('git+http://precious.harpy.faith/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() {
2023-06-02 10:58:31 +10:00
cd ${pkgname}
install -d ${pkgdir}/usr/bin ${pkgdir}/opt/clemmy
2023-06-02 10:58:31 +10:00
cp -r . ${pkgdir}/opt/clemmy
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
}