summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordobo902015-06-08 19:31:21 +0200
committerdobo902015-06-08 19:31:21 +0200
commit4feaedcf08c112cca3ba6ebbb595bb2bef8a1fca (patch)
treefe23897e5f024c42bbd74fbc73b1b55c63e824e3
downloadaur-linuxdcpp-bzr.tar.gz
Initial import
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD38
-rw-r--r--linuxdcpp-bzr.install11
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..19eb7602d02
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = linuxdcpp-bzr
+ pkgdesc = latest bzr trunk
+ pkgver = 401
+ pkgrel = 1
+ url = https://launchpad.net/linuxdcpp
+ install = linuxdcpp-bzr.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = bzr
+ makedepends = scons
+ makedepends = pkgconfig
+ makedepends = boost
+ depends = bzip2
+ depends = gcc-libs
+ depends = libglade
+ depends = hicolor-icon-theme
+ conflicts = linuxdcpp
+ conflicts = linuxdcpp-cvs
+
+pkgname = linuxdcpp-bzr
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..904c8cff0d3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: dobo <dobo90_at_gmail.com>
+## Contributor : nemOn(YarLUG)
+# based pkgbuild fancris3
+
+pkgname=linuxdcpp-bzr
+pkgver=401
+pkgrel=1
+pkgdesc="latest bzr trunk"
+url=https://launchpad.net/linuxdcpp
+license=(GPL)
+arch=(i686 x86_64)
+depends=(bzip2 gcc-libs libglade hicolor-icon-theme)
+makedepends=(bzr scons pkgconfig boost)
+install=linuxdcpp-bzr.install
+conflicts=(linuxdcpp linuxdcpp-cvs)
+
+_bzrtrunk=https://code.launchpad.net/~linuxdcpp-team/linuxdcpp/trunk
+_bzrmod=trunk
+
+build() {
+ cd ${srcdir}
+
+ if [ ! -d ./${_bzrmod} ]; then
+ bzr co ${_bzrtrunk} ${_bzrmod}
+ else
+ bzr up ${_bzrmod}
+ fi
+
+ cd ${srcdir}/trunk
+
+ scons PREFIX=/usr LIBDIR=/usr/share
+}
+
+package() {
+ cd ${srcdir}/trunk
+ scons install FAKE_ROOT=${pkgdir}
+}
+
diff --git a/linuxdcpp-bzr.install b/linuxdcpp-bzr.install
new file mode 100644
index 00000000000..81f2ba65931
--- /dev/null
+++ b/linuxdcpp-bzr.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}