blob: fb4f465051d2bb2fa98365be4284f42273fa5471 (
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
35
36
|
# Maintainer: Talon <diablodev@googlegroups.com>
_pkgname=diablo-project-manager
pkgname=$_pkgname-git
pkgver=git
pkgrel=2
pkgdesc="A Basic Project Manager"
arch=("x86" "x86_64")
url="https://gitlab.com/diablodev/dpm"
license=('MIT')
depends=('bash' 'git' 'glibc')
optdepends=('zenity: allows you to run the diablo-project-manager gui.')
makedepends=('shc')
provides=("diablo-project-manager")
conflicts=("diablo-project-manager")
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$srcdir/$pkgname"
make clean
}
build() {
cd "$srcdir/$pkgname"
make PACKAGE="$_pkgname" PREFIX="/usr" build
}
package() {
cd "$srcdir/$pkgname"
make PACKAGE="$_pkgname" DESTDIR="$pkgdir" PREFIX="/usr" install
}
|