~irimi1/pkgbuilds

92a84f2ef1747fc11471c72662ecda81a88d9e7b — Manuel Groß 1 year, 4 months ago 850a25c
Add mastopurge-bin
1 files changed, 16 insertions(+), 0 deletions(-)

A mastopurge-bin/PKGBUILD
A mastopurge-bin/PKGBUILD => mastopurge-bin/PKGBUILD +16 -0
@@ 0,0 1,16 @@
# Maintainer: Manuel Groß <mgr@irimi.one>
pkgname=mastopurge-bin
pkgver=1.1.3
pkgrel=1
pkgdesc="Purges Mastodon accounts. Deletes old posts. Makes things clean again."
arch=('x86_64')
url="https://github.com/ThomasLeister/mastopurge"
license=('MIT')
conflicts=('mastopurge')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
source=("https://github.com/ThomasLeister/mastopurge/releases/download/$pkgver/${pkgname/-bin}_${pkgver}_linux_x86_64")
sha256sums=('42c36b2301c89147f5606c7f0ce39040b8d5ee39b8a28ef82c8b59f29aa1f3f2')

package() {
	install -Dm755 "$srcdir/${pkgname/-bin}_${pkgver}_linux_x86_64" "${pkgdir}/usr/bin/${pkgname/-bin}"
}