summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e48441d808fe28946646e5b1e9a0cc17052eb18b (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: maz-1 <ohmygod19993 at gmail dot com>
pkgname=vcxproj2cmake
_gitname=$pkgname
pkgver=20140728
pkgrel=1
pkgdesc="Convert Visual studio 2010 project(vcxproj) to CMakeFile.txt"
arch=(any)
url="https://github.com/envi/vcxproj2cmake"
license=('Unknown')
depends=('perl-readonly' 'perl-autobox-core' 'perl-try-tiny'
        'perl-xml-treepp' 'perl-xml-treepp-xmlpath'
        'perl-text-xslate' 'perl-data-dumper' )
makedepends=('git')
source=('git+https://github.com/envi/vcxproj2cmake.git')
md5sums=('SKIP')

pkgver() {
  cd  "$srcdir/$_gitname"
  git log -1 --format="%cd" --date=short | sed 's|-||g'
}

package() {
  install -Dm755 "$srcdir/$_gitname/vcxproj2cmake.pl" "$pkgdir/usr/bin/vcxproj2cmake"
}