summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorИван Зенин2015-11-06 01:52:24 +0300
committerИван Зенин2015-11-06 01:52:24 +0300
commit4698eaa1a3a4aba0c0f2efccceda1e16d323140c (patch)
tree9d34c692e5ecf6a77a03c2db5e41900f9fef1832
downloadaur-4698eaa1a3a4aba0c0f2efccceda1e16d323140c.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rwxr-xr-xPKGBUILD60
2 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d47c33deda4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = amule-remote-git
+ pkgdesc = An eMule-like client for the eD2k and Kademlia p2p networks (remote GUI only, development version)
+ pkgver = master
+ pkgrel = 1
+ url = http://www.amule.org
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = geoip
+ depends = geoip-database
+ depends = wxgtk>=2.8
+ conflicts = amule
+ source = git+git://repo.or.cz/amule.git
+ md5sums = SKIP
+
+pkgname = amule-remote-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..c3e645b635a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,60 @@
+# Maintainer: Ivan Zenin <i.zenin@gmx.com>
+
+pkgname=amule-remote-git
+pkgver=master
+pkgrel=1
+pkgdesc='An eMule-like client for the eD2k and Kademlia p2p networks (remote GUI only, development version)'
+url='http://www.amule.org'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('geoip' 'geoip-database' 'wxgtk>=2.8')
+makedepends=('git')
+conflicts=('amule')
+source=('git+git://repo.or.cz/amule.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${SRCDEST}/amule"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "${srcdir}/amule"
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --disable-monolithic \
+ --disable-amule-daemon \
+ --disable-amulecmd \
+ --disable-webserver \
+ --enable-amule-gui \
+ --disable-cas \
+ --disable-wxcas \
+ --disable-ed2k \
+ --disable-alc \
+ --disable-alcc \
+ --disable-xas \
+ --disable-fileview \
+ --disable-plasmamule \
+ --disable-static \
+ --disable-kde-in-home \
+ --enable-geoip \
+ --disable-upnp \
+ --disable-debug \
+ --disable-profile \
+ --enable-optimize \
+ --enable-mmap \
+ --enable-nls \
+ --disable-ccache \
+ --with-wx-config=/usr/bin/wx-config
+ make
+}
+
+package() {
+ cd "${srcdir}/amule"
+ make DESTDIR="${pkgdir}" install
+ find "${pkgdir}" -type d -name .git -exec rm -r '{}' +
+ install -dm750 -o129 -g129 "${pkgdir}/var/lib/amule"
+ rm -fr "${pkgdir}/usr/share"/{pixmaps,applications}
+}
+