diff options
Diffstat (limited to 'nosr-git/PKGBUILD')
-rw-r--r-- | nosr-git/PKGBUILD | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/nosr-git/PKGBUILD b/nosr-git/PKGBUILD deleted file mode 100644 index f838831..0000000 --- a/nosr-git/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Dave Reisner <d@falconindy.com> - -pkgname=nosr-git -pkgver=20110901 -pkgrel=1 -pkgdesc="search for files in uninstalled packages" -arch=('i686' 'x86_64') -url="http://github.com/falconindy/nosr" -license=('MIT') -depends=('libarchive' 'curl' 'pcre' 'pacman') -makedepends=('git' 'perl') -conflicts=('nosr') -provides=('nosr') - -_gitroot="git://github.com/falconindy/nosr.git" -_gitname="nosr" - -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 make..." - - rm -rf "$srcdir/$_gitname-build" - cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - - make -} - -package() { - cd "$srcdir/$_gitname-build" - make PREFIX=/usr DESTDIR="$pkgdir" install -} - -# vim: ft=sh syn=sh et |