Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _pkgname=nemo-fileroller
- pkgname=${_pkgname}-git
- pkgver=20130119
- pkgrel=1
- pkgdesc="Nemo file rollerextension"
- arch=('i686' 'x86_64')
- url="https://github.com/linuxmint/nemo-extensions"
- license=('GPL')
- source=('configure.in_fix.patch')
- depends=('libnotify' 'nemo-fm' 'file-roller')
- options=('!libtool' '!emptydirs')
- _gitroot=git://github.com/linuxmint/nemo-extensions.git
- _gitname=nemo-extensions
- build() {
- msg "Connecting to GIT server...."
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin && cd ..
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
- msg "GIT checkout done or server timeout"
- msg "Starting build..."
- [ -d "$_gitname-build" ] && rm -rf "$_gitname-build"
- git clone "$_gitname" "$_gitname-build"
- cd "$_gitname-build"/${_pkgname}
- ## I think they started with the nemo-dropbox source, so there
- ## are some unnecessary python dependencies
- patch -uNp2 -r- -i ${srcdir}/configure.in_fix.patch
- autoreconf -fi
- ./configure --prefix=/usr --sysconfdir=/etc
- make
- }
- package() {
- cd "$_gitname-build"/${_pkgname}
- make DESTDIR="${pkgdir}" install
- }
- sha256sums=('aae6d8047e6901d28b62f1b2e11da73b909ee06976284c54a94cb1d9b0135c67')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement