Don't include git history in package whoops

This commit is contained in:
Zergling_man 2024-07-02 15:20:57 +10:00
parent b1cb700ef7
commit 8cd519fe75

View File

@ -3,19 +3,20 @@
pkgname=clemmy
pkgver=0.2.0
pkgrel=1
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 README.txt
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