summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 513853d66c43e7f132f7063786e3c00df5f70fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Michael Schönitzer <michael@schoenitzer.de>
pkgname=getrid-git
pkgver=0.2.1.r0.g13a0f7c
pkgrel=1
pkgdesc="Terminal user interface to decide which packages to keep and which to get rid of"
arch=('any')
url="https://github.com/Nudin/getrid"
license=('GPL')
depends=('python' 'python-urwid' 'pacgraph')
source=("$pkgname::git+https://github.com/Nudin/getrid.git")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
	cd "$pkgname"
	make DESTDIR="$pkgdir/" install
}