summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Chuong2016-02-13 13:56:25 -0800
committerVinson Chuong2016-02-13 13:56:25 -0800
commita47d82f60e035affce46605439dc1d5ab67e257b (patch)
tree370f7a088e3080e184474daea400d57512e638cd
parentd646afcbdbfec0c1fc5997446f7b3ecdced091f9 (diff)
downloadaur-a47d82f60e035affce46605439dc1d5ab67e257b.tar.gz
v0.0.4-1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD20
2 files changed, 18 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3afd4e02023..6549488017a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
# Generated by mksrcinfo v8
-# Mon Jan 18 04:19:37 UTC 2016
+# Sat Feb 13 21:56:25 UTC 2016
pkgbase = prototypical
pkgdesc = A starting point for a project
- pkgver = 0.0.3
+ pkgver = 0.0.4
pkgrel = 1
url = https://github.com/vinsonchuong/prototypical
arch = any
license = MIT
checkdepends = bats-git
- makedepends = bats-git
- makedepends = git
+ checkdepends = git
+ makedepends = clidoc
depends = bash-common-environment
depends = bash-common-parse-options
depends = postgresql
@@ -18,8 +18,8 @@ pkgbase = prototypical
depends = nodejs
depends = npm
optdepends = hub
- source = https://github.com/vinsonchuong/prototypical/archive/v0.0.3-1.tar.gz
- md5sums = 6050e566342d250aa8aec016e742176b
+ source = https://github.com/vinsonchuong/prototypical/archive/v0.0.4-1.tar.gz
+ md5sums = SKIP
pkgname = prototypical
diff --git a/PKGBUILD b/PKGBUILD
index 5a2c4cee7c4..28884520e92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Vinson Chuong <vinsonchuong@gmail.com>
pkgname=prototypical
-pkgver=0.0.3
+pkgver=0.0.4
pkgrel=1
pkgdesc=A\ starting\ point\ for\ a\ project
arch=(any)
@@ -16,13 +16,13 @@ depends=(
npm
)
optdepends=(hub)
-makedepends=(
+makedepends=(clidoc)
+checkdepends=(
bats-git
git
)
-checkdepends=(bats-git)
-source=(https://github.com/vinsonchuong/prototypical/archive/v0.0.3-1.tar.gz)
-md5sums=('6050e566342d250aa8aec016e742176b')
+source=(https://github.com/vinsonchuong/prototypical/archive/v0.0.4-1.tar.gz)
+md5sums=("SKIP")
build ()
{
cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}";
@@ -30,14 +30,18 @@ build ()
}
check ()
{
- cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}";
- PATH="${PWD}/bin:${PATH}" bats spec
+ true
}
package ()
{
cd "${srcdir}/${pkgname}-${pkgver}-${pkgrel}";
[[ -d 'bin' ]] && install -Dm755 -t "${pkgdir}/usr/bin" bin/*;
- [[ -d 'lib' ]] && install -Dm755 -t "${pkgdir}/usr/lib/${pkgname}" lib/*;
+ if [[ -d 'lib' ]]; then
+ for file in $(find 'lib' -type 'f');
+ do
+ install -D -m "$(stat -c '%a' "$file")" "$file" "${pkgdir}/usr/lib/${pkgname}/${file#'lib/'}";
+ done;
+ fi;
[[ -d 'help' ]] && install -Dm644 -t "${pkgdir}/usr/share/${pkgname}/help" help/*;
[[ -f 'README.md' ]] && install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}" 'README.md';
[[ -d 'doc' ]] && install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname}/doc" doc/*.md;