summaryrefslogtreecommitdiff
path: root/~lukeshu/thingutils-git
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /~lukeshu/thingutils-git
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to '~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')