summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 48c770c5f05359c69da48fd947d6d7178bddb1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Stick <stick@stma.is>
pkgname=python-cleantoots
_name=${pkgname#python-}
pkgver=0.4.1
pkgrel=1
pkgdesc="Cleanup your toot history"
arch=('any')
url="https://gabnotes.org/cleantoots-clean-your-toot-history/"
license=('GPL')
depends=(
	'python-mastodon'
	'python-click'
	'python-html2text'
	'python-pendulum'
)
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('450898a58b905a10a37e8fdf3ce2d825f43baa74e8e516f61362e0f99a2767b6')

build() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py build
}

package() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}