summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4e0c618ee6d8ff57275b5477b3cbcea6578113a (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: Tom Meyers tom@odex.be
pkgname=source-marking-system-git
pkgver=r38.3f85d72
pkgrel=2
pkgdesc="A tool to mark your source code with your copyright/license"
arch=(any)
url="https://github.com/F0xedb/source-marking-system"
_reponame="source-marking-system"
license=('MIT')

source=(
"git+https://github.com/F0xedb/source-marking-system.git")
md5sums=('SKIP')
makedepends=('git')
depends=('python')

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


build() {
    return 0;
}

package() {
        cd "$srcdir/$_reponame"
        install -Dm755 source-notate "$pkgdir"/usr/bin/source-notate
}