diff options
author | Brian Bidulock | 2015-06-10 22:59:22 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 22:59:22 -0600 |
commit | 3246e259b7da273f6002d3361d24ca5b0ae7e44b (patch) | |
tree | 56b07b93c3bad4ad65b000532404fb00771a683d | |
download | aur-wmmaiload.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 37 | ||||
-rw-r--r-- | build2.3.0.patch | 21 |
3 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..17ef2b66281b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = wmmaiload + pkgdesc = A dockapp that monitors your incoming mails + pkgver = 2.3.0 + pkgrel = 1 + url = http://tnemeth.free.fr/projets/dockapps.html + arch = i686 + arch = x86_64 + license = GPL + depends = gtk2 + depends = libxpm + source = http://tnemeth.free.fr/projets/programmes/wmmaiload-2.3.0.tar.bz2 + source = build2.3.0.patch + md5sums = ad45b973e905d3e2daa3575fe4097097 + md5sums = 45e2e2105b312b0c5f4977fe3ba023df + +pkgname = wmmaiload + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e806aedcb38e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org> + +pkgname=wmmaiload +pkgver=2.3.0 +pkgrel=1 +pkgdesc="A dockapp that monitors your incoming mails" +arch=('i686' 'x86_64') +license=('GPL') +url="http://tnemeth.free.fr/projets/dockapps.html" +depends=('gtk2' 'libxpm') +source=("http://tnemeth.free.fr/projets/programmes/$pkgname-$pkgver.tar.bz2" + "build$pkgver.patch") +md5sums=('ad45b973e905d3e2daa3575fe4097097' + '45e2e2105b312b0c5f4977fe3ba023df') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np2 -b -z .orig <../build$pkgver.patch +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + #make DESTDIR="$pkgdir" install + install -Dm0755 "$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm0755 "$pkgname-config/$pkgname-config" "$pkgdir/usr/bin/$pkgname-config" + install -Dm0644 "doc/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1" + install -Dm0644 "doc/$pkgname-config.1" "$pkgdir/usr/share/man/man1/$pkgname-config.1" + install -Dm0655 "doc/sample.${pkgname}rc" "$pkgdir/usr/share/$pkgname/${pkgname}rc" +} + +# vim: set sw=2 et: diff --git a/build2.3.0.patch b/build2.3.0.patch new file mode 100644 index 000000000000..ed1c37101122 --- /dev/null +++ b/build2.3.0.patch @@ -0,0 +1,21 @@ +diff -up src/wmmaiload-2.3.0/wmmaiload/Makefile.orig src/wmmaiload-2.3.0/wmmaiload/Makefile +--- src/wmmaiload-2.3.0/wmmaiload/Makefile.orig 2014-04-10 11:39:11.000000000 -0600 ++++ src/wmmaiload-2.3.0/wmmaiload/Makefile 2014-04-10 11:39:52.000000000 -0600 +@@ -69,7 +69,7 @@ OBJS = $(SRCS:%.c=%.o) + DEFAULT_CPPFLAGS = $(CPPFLAGS) $(EXTRA_CPPFLAGS) + + ALL_CFLAGS = $(CFLAGS) $(DEBUG_CFLAGS) $(USER_CFLAGS) +-ALL_CPPFLAGS = $(DEFAULT_CPPFLAGS) $(DEBUG_CPPFLAGS) $(USER_CPPFLAGS) ++ALL_CPPFLAGS = $(DEFAULT_CPPFLAGS) $(DEBUG_CPPFLAGS) $(USER_CPPFLAGS) -D_GNU_SOURCE + ALL_LIBS = $(LDFLAGS) $(DEBUG_LDFLAGS) $(USER_LDFLAGS) + + +@@ -110,7 +110,7 @@ config.h: Init.make config.h.in + dep: .dependencies + + $(PROGRAM): $(OBJS) +- $(CC) -o $(TARGET) $(OBJS) $(ALL_LIBS) ++ $(CC) -o $(TARGET) $(OBJS) $(ALL_LIBS) -lcrypto + + %.o: %.c + $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $< |