blob: ef092064766ec17b35db3bcea96cee654fd36787 (
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
|
# Maintainer: Ashwini Sahu <ashwinisahu990@gmail.com>
pkgname=template
pkgver=r5.1e9b22a
pkgrel=1
pkgdesc="A script to genrate template files."
arch=('any')
url="https://github.com/ASHWIN990/${pkgname}"
license=('GPL3')
depends=('python3')
makedepends=('git')
provides=('template')
source=("git+https://github.com/ASHWIN990/template.git")
md5sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname}"
install -Dm775 template.py -T ${pkgdir}/usr/bin/template
install -Dm644 template_maker/* -t ${pkgdir}/usr/share/template_maker
}
|