summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4832893059d29d1df5453a901bdcbab41648b9bb (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
# Maintainer: Hans Müller <schreibemirhalt@gmail.com>
pkgname=fakeaur
pkgver=r11.37adea1
pkgrel=2
pkgdesc="Edit names and descriptions of AUR packages. Meme mates with nani or btwiusearch"
arch=('any')
url="https://github.com/schrmh/fakeAUR"
license=('unknown')
depends=('bash')
makedepends=('git' 'bash')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("$pkgname::git+https://github.com/schrmh/fakeAUR.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  ( set -o pipefail
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
}

package() {
	cd "$srcdir/$pkgname"
	mkdir -p "$pkgdir/usr/bin"
	mv fakeAUR.sh "$pkgdir/usr/bin/fakeaur"
	chmod +x "$pkgdir/usr/bin/fakeaur"
}