summaryrefslogtreecommitdiff
path: root/pcr/pkgbuild-introspection-git/PKGBUILD
blob: 8d8aded1a13cd412fcbb6e2e121d3a6a0d9c5dcd (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
31
32
33
34
# Maintainer (Arch): Jason St. John <jstjohn .. purdue . edu>

pkgname=pkgbuild-introspection-git
_pkgname=pkgbuild-introspection
pkgver=2.6.gabedf43
pkgrel=1
pkgdesc='Tools for generating .AURINFO files and PKGBUILD data extraction (mkaurball)'
url="https://github.com/falconindy/${_pkgname}"
license=('MIT')
arch=('any')
depends=('bash' 'pacman')
makedepends=('git')
provides=('pkgbuild-introspection')
conflicts=('pkgbuild-reflection-git' 'pkgbuild-introspection')
source=("git://github.com/falconindy/${_pkgname}.git")
sha1sums=('SKIP')

pkgver() {
  cd "$_pkgname"

  git describe | sed 's/^v//;s/-/./g'
}

build() {
  cd "$_pkgname"

  make
}

package() {
  cd "$_pkgname"

  make install PREFIX=/usr DESTDIR="${pkgdir}"
}