blob: ffccf44e678fc9bef74f74ed7d0c216d687fccc6 (
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
29
30
|
# Maintainer: éclairevoyant
_pkgname=pacclean
pkgname="$_pkgname-git"
pkgver=r35.a39fc9c
pkgrel=1
pkgdesc="Clean up old pacman packages, similar to paccache"
arch=('x86_64')
url="https://github.com/eclairevoyant/pacclean"
license=('CCPL:by-nc-sa')
depends=('glibc' 'libalpm.so')
makedepends=('git' 'nim' 'pandoc')
source=("git+$url.git")
b2sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
nimble release
}
package() {
cd $_pkgname
install -Dm755 $_pkgname -t "$pkgdir/usr/bin/"
install -Dm644 $_pkgname.1 -t "$pkgdir/usr/share/man/man1/"
}
|