Skip to content
Browse files

nosr: update, add install scriptlet

  • Loading branch information...
1 parent b597413 commit 4c977977fcc30848355abdb4582260a52866bbce @falconindy committed Jul 9, 2012
Showing with 8 additions and 4 deletions.
  1. +3 −4 nosr-git/PKGBUILD
  2. +5 −0 nosr-git/nosr.install
View
7 nosr-git/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Dave Reisner <d@falconindy.com>
pkgname=nosr-git
-pkgver=20110904
+pkgver=20120709
pkgrel=1
pkgdesc="a pacman .files metadata explorer"
arch=('i686' 'x86_64')
@@ -11,12 +11,12 @@ depends=('libarchive' 'curl' 'pcre' 'pacman')
makedepends=('git' 'perl')
conflicts=('nosr')
provides=('nosr')
+install=nosr.install
_gitroot="git://github.com/falconindy/nosr.git"
_gitname="nosr"
build() {
- cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d $_gitname ]] ; then
@@ -37,8 +37,7 @@ build() {
}
package() {
- cd "$srcdir/$_gitname-build"
- make PREFIX=/usr DESTDIR="$pkgdir" install
+ make -C "$srcdir/$_gitname-build" PREFIX=/usr DESTDIR="$pkgdir" install
}
# vim: ft=sh syn=sh et
View
5 nosr-git/nosr.install
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+post_install() {
+ printf "==> Run 'nosr ---update' to initialize the database\n"
+}

0 comments on commit 4c97797

Please sign in to comment.
Something went wrong with that request. Please try again.