summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Poulin2015-06-08 18:31:02 -0400
committerMaxime Poulin2015-06-08 18:31:02 -0400
commit7ad9cd947f65e92a2191fba7b960d9f3788a7242 (patch)
treef4bbdb39cc8c5c52f1a0b7f02e0daa27e16296ef
downloadaur-7ad9cd947f65e92a2191fba7b960d9f3788a7242.tar.gz
Import package to AUR4
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD22
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..725684f89e1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = dmagick
+ pkgdesc = D wrapper for ImageMagick
+ pkgver = 6.9.0
+ pkgrel = 1
+ url = https://github.com/MikeWey/DMagick
+ arch = i686
+ arch = x86_64
+ license = unknown
+ depends = dmd
+ depends = dtools
+ depends = imagemagick
+ source = https://github.com/MikeWey/DMagick/archive/ImageMagick_6.9.0.tar.gz
+ md5sums = 31e73ba27cb4505e76d4a67fcef56e5f
+
+pkgname = dmagick
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4952cc66091
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Maxime Poulin <maxpoulin64@gmail.com>
+pkgname=dmagick
+pkgver=6.9.0
+pkgrel=1
+pkgdesc="D wrapper for ImageMagick"
+arch=("i686" "x86_64")
+url="https://github.com/MikeWey/DMagick"
+license=('unknown')
+depends=("dmd" "dtools" "imagemagick")
+source=("https://github.com/MikeWey/DMagick/archive/ImageMagick_$pkgver.tar.gz")
+md5sums=("31e73ba27cb4505e76d4a67fcef56e5f")
+
+build() {
+ cd "DMagick-ImageMagick_$pkgver"
+ sed -i "s/prefix=.*/prefix=\\/usr/" GNUmakefile
+ make
+}
+
+package() {
+ cd "DMagick-ImageMagick_$pkgver"
+ make DESTDIR="$pkgdir/" install
+}