now works from other dirs, and PKGBUILD might work
This commit is contained in:
13
PKGBUILD
13
PKGBUILD
@@ -2,17 +2,18 @@
|
||||
|
||||
pkgname=clemmy
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
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=('https://gitea.rakka.tk/Zergling_man/clemmy/raw/branch/master/shitty_api.sh')
|
||||
sha256sums=('f3a3c9453158ca713b5a5fb21e0510a681a143ae74fc105364901248ad2f86b9')
|
||||
source=('git+https://gitea.rakka.tk/Zergling_man/clemmy.git')
|
||||
#sha256sums=('') Don't know how to use this on a repo.
|
||||
|
||||
package() {
|
||||
install -d ${pkgdir}/usr/bin
|
||||
cp ${srcdir}/shitty_api.sh ${pkgdir}/usr/bin/shitty_api
|
||||
chmod +x ${pkgdir}/usr/bin/shitty_api
|
||||
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/
|
||||
}
|
Reference in New Issue
Block a user