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