summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-03 13:44:53 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-03 13:44:53 -0500
commited70e00585e92fba2f91d090b261e8c902b268ed (patch)
tree5b46c1dbc81dc8e1bc52920f8ddffddd606747ec
parent611fe122b72052100701a616443ac72fe15b3e63 (diff)
update ~lukeshu/thingutils-git
-rw-r--r--~lukeshu/thingutils-git/PKGBUILD48
1 files changed, 19 insertions, 29 deletions
diff --git a/~lukeshu/thingutils-git/PKGBUILD b/~lukeshu/thingutils-git/PKGBUILD
index d3d13925a..23683bc52 100644
--- a/~lukeshu/thingutils-git/PKGBUILD
+++ b/~lukeshu/thingutils-git/PKGBUILD
@@ -2,16 +2,20 @@
_pkgname=thingutils
pkgname=$_pkgname-git
+
+pkgver=20131203
+_gitver=aa2d5a3a4363ff4f4ca23f4c6716613c4be66ecd
+pkgdesc=""
+url="https://gitorious.org/thingutils"
+license=('MIT')
+
provides=($_pkgname)
conflicts=($_pkgname)
-pkgver=20120117
pkgrel=1
-pkgdesc=""
arch=('i686' 'x86_64')
-url="https://gitorious.org/thingutils"
-license=('MIT')
+
depends=(
- 'php' # roll, urldecode
+ 'php' # urldecode
'bash' # daemon, newegg, sysfiles
'emacs' # emacsmail, emacsterm, e
'wget' # whatismyip
@@ -21,36 +25,22 @@ depends=(
'wdiff' # chardiff
'acpi' # batterymon, tempmon
)
-makedepends=('git')
+makedepends=('go')
-_gitroot=https://git.gitorious.org/thingutils/thingutils.git
-_gitname=$_pkgname
+source=("libre://$pkgname-$pkgver.tar.gz")
+
+mkdepends=('git')
+mksource=("$pkgname-$pkgver::git://gitorious.org/$_pkgname/$_pkgname.git#commit=$_gitver")
+mkmd5sums=('SKIP')
build() {
- cd "$srcdir"
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
-
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
-
- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
-
- #
- # BUILD HERE
- #
+ cd "$srcdir/$pkgname-$pkgver"
make prefix=/usr
}
package() {
- cd "$srcdir/$_gitname-build"
+ cd "$srcdir/$pkgname-$pkgver"
make install prefix=/usr DESTDIR="$pkgdir"
}
+
+md5sums=('7991e689263698f3d9a6470184f97ed1')