Skip to content

anonymous /PKGBUILD.txt
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
PKGBUILD
# Maintainer: Limao Luo <luolimao+AUR@gmail.com>
#
# (Added from thunar package)
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
_pkgname=thunar
pkgname=$_pkgname-git
pkgver=20130126
pkgrel=1
pkgdesc="New modern file manager for Xfce - migration to GIO."
arch=(i686 x86_64)
license=(GPL2)
url=http://$_pkgname.xfce.org
groups=(xfce4-git)
depends=(dbus desktop-file-utils exo-git gtk2 hicolor-icon-theme libexif libpng)
makedepends=(git xfce4-dev-tools)
provides=($_pkgname)
conflicts=($_pkgname{,-devel})
options=(!libtool)
install=$_pkgname.install
_gitroot=git://git.xfce.org/xfce/$_pkgname
_gitname=$_pkgname
build() {
cd "$srcdir"
msg "Connecting to the GIT server..."
if [[ -d $_gitname/.git ]]; then
pushd $_gitname && git pull
msg2 "The local files are updated."
popd
else
git clone $_gitroot
fi
msg2 "GIT checkout done or server timeout"
rm -rf $_gitname-build/
cp -r $_gitname/ $_gitname-build/
cd $_gitname-build/
msg "Building..."
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--enable-gio-unix \
--enable-dbus \
--enable-startup-notification \
--enable-gudev \
--enable-exif \
--enable-pcre \
--enable-gtk-doc \
--disable-debug
make
}
package() {
cd "$srcdir"/$_gitname-build/
make DESTDIR="$pkgdir" install
sed -i ':x-directory/gnome-default-handler;:d' "$pkgdir"/usr/share/applications/Thunar-folder-handler.desktop
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.