diff options
author | Peter Mattern | 2015-12-01 11:56:45 +0100 |
---|---|---|
committer | Peter Mattern | 2015-12-01 11:56:45 +0100 |
commit | 130c6ba51f60e64214a760779c7bfc8d4ad9de73 (patch) | |
tree | de955714c0ae235b3304f6e6591847ca69c8015f | |
download | aur-130c6ba51f60e64214a760779c7bfc8d4ad9de73.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ed55f5a2f3d8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = libfm-qt-git + pkgdesc = Qt port of libfm, a library providing components to build desktop file managers + pkgver = r288.e054de9 + pkgrel = 1 + url = https://github.com/lxde/libfm-qt + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = qt5-tools + depends = qt5-x11extras + depends = libfm>=1.2.0 + provides = libfm-qt + conflicts = libfm-qt + source = git+https://github.com/lxde/libfm-qt.git + sha256sums = SKIP + +pkgname = libfm-qt-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b80f587d30ea --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Peter Mattern <pmattern at arcor dot de> + +_pkgname=libfm-qt +pkgname=$_pkgname-git +pkgver=r288.e054de9 +pkgrel=1 +pkgdesc='Qt port of libfm, a library providing components to build desktop file managers' +arch=('i686' 'x86_64') +url='https://github.com/lxde/libfm-qt' +license=('GPL') +depends=('qt5-x11extras' 'libfm>=1.2.0') +makedepends=('cmake' 'qt5-tools') +provides=("$_pkgname") +conflicts=("$_pkgname") +source=('git+https://github.com/lxde/libfm-qt.git') +sha256sums=("SKIP") + +pkgver() { + cd $_pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + mkdir -p build ; cd build + cmake $srcdir/$_pkgname -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib + make +} + +package() { + cd build + make DESTDIR=$pkgdir install +} |