~irimi1/pkgbuilds

850a25cb0bd341c63a6c84c856b940944ee273f2 — Manuel Groß 1 year, 4 months ago
Add mastopurge PKGBUILD
1 files changed, 22 insertions(+), 0 deletions(-)

A mastopurge/PKGBUILD
A  => mastopurge/PKGBUILD +22 -0
@@ 1,22 @@
# Maintainer: Manuel Groß <mgr@irimi.one>
pkgname=mastopurge
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')
makedepends=('go-pie')
conflicts=('mastopurge')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('ea8e95c2ac77678166b9e58e00c3be6175e0686658feb5e0590e4748d7dbdf23')

build() {
	cd "$srcdir/$pkgname-$pkgver"
	go build -o $pkgname
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	install -Dt "$pkgdir"/usr/bin $pkgname
}