Skip to content

Instantly share code, notes, and snippets.

@MadeOfMagicAndWires
Created October 28, 2013 12:40
Show Gist options
  • Save MadeOfMagicAndWires/7196140 to your computer and use it in GitHub Desktop.
Save MadeOfMagicAndWires/7196140 to your computer and use it in GitHub Desktop.
PKGBUILD nemo-preview-git
# Maintainer: twa022 <twa022 at gmail dot com>
_pkgname=nemo-preview
pkgname=${_pkgname}-git
pkgver=79.14bf441
pkgrel=1
pkgdesc="Nemo preview (Sushi fork)"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/nemo-extensions"
license=('GPL')
depends=('clutter-gtk' 'clutter-gst' 'cjs' 'libmusicbrainz5' 'webkitgtk3' 'gtksourceview3' 'evince')
makedepends=('intltool' 'gobject-introspection')
install=${_pkgname}.install
options=('!libtool' '!emptydirs')
source=("git+https://github.com/linuxmint/nemo-extensions.git")
pkgver() {
cd "$srcdir"/nemo-extensions
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir"/nemo-extensions/${_pkgname}
# ./autogen.sh --prefix=/usr --libexecdir=/usr/lib/nemo-preview
autoreconf --install --force
intltoolize --force
autoreconf
./configure --prefix=/usr --libexecdir=/usr/lib/nemo-preview
make
}
package() {
cd "$srcdir"/nemo-extensions/${_pkgname}
make DESTDIR="${pkgdir}" install
}
sha256sums=('SKIP')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment