diff options
author | Jerome Leclanche | 2015-06-09 21:53:03 +0200 |
---|---|---|
committer | Jerome Leclanche | 2015-06-09 21:53:03 +0200 |
commit | 325d60a25725a2ae41273c0c34d9468c2fb008b0 (patch) | |
tree | 172f3bae5b31fc255169d490ef0336addb9f3dd3 | |
download | aur-325d60a25725a2ae41273c0c34d9468c2fb008b0.tar.gz |
Initial import from old AUR
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4c839e814d18 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = lxqt-about-git + pkgdesc = LXQt about dialog. + pkgver = 0.9.0.2.ge29a8b6 + pkgrel = 1 + url = http://lxqt.org + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + makedepends = cmake + depends = liblxqt-git + provides = lxqt-about + conflicts = lxqt-about + source = git+https://github.com/lxde/lxqt-about.git + sha256sums = SKIP + +pkgname = lxqt-about-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1f8c013a2b64 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Jerome Leclanche <jerome@leclan.ch> + +_pkgname=lxqt-about +pkgname=$_pkgname-git +pkgver=0.9.0.2.ge29a8b6 +pkgrel=1 +pkgdesc="LXQt about dialog." +arch=("i686" "x86_64") +url="http://lxqt.org" +license=("GPL2") +depends=("liblxqt-git") +makedepends=("git" "cmake") +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("git+https://github.com/lxde/$_pkgname.git") +sha256sums=("SKIP") + + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --always | sed "s/-/./g" +} + +build() { + mkdir -p build + cd build + cmake "$srcdir/$_pkgname" \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +} |