[arch-commits] Commit in dub/repos (4 files)
Михаил Страшун
dicebot at nymeria.archlinux.org
Wed Oct 2 15:08:49 UTC 2013
Date: Wednesday, October 2, 2013 @ 17:08:48
Author: dicebot
Revision: 97983
archrelease: copy trunk to community-i686, community-x86_64
Added:
dub/repos/community-i686/
dub/repos/community-i686/PKGBUILD
(from rev 97982, dub/trunk/PKGBUILD)
dub/repos/community-x86_64/
dub/repos/community-x86_64/PKGBUILD
(from rev 97982, dub/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 28 ++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 28 ++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
Copied: dub/repos/community-i686/PKGBUILD (from rev 97982, dub/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-10-02 15:08:48 UTC (rev 97983)
@@ -0,0 +1,28 @@
+# Maintainer: Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+pkgname=dub
+pkgver=0.9.18
+pkgrel=1
+pkgdesc="Developer package manager for D programming language"
+arch=('i686' 'x86_64')
+url="https://github.com/rejectedsoftware/dub"
+license=('MIT')
+makedepends=('dmd' 'libphobos-devel' 'git')
+depends=('d-compiler' 'd-runtime' 'curl')
+source=("git+http://github.com/rejectedsoftware/dub.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+build()
+{
+ cd "${srcdir}/${pkgname}"
+ GITVER=$(git describe) || GITVER=unknown
+ echo "module dub.version_; enum dubVersion = \"$GITVER\";" > source/dub/version_.d
+ dmd -ofbin/dub -g -debug -w -Isource -L-lcurl @build-files.txt
+}
+
+package()
+{
+ cd "${srcdir}/${pkgname}"
+ install -D -m755 bin/dub "${pkgdir}/usr/bin/dub"
+ install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}
Copied: dub/repos/community-x86_64/PKGBUILD (from rev 97982, dub/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-10-02 15:08:48 UTC (rev 97983)
@@ -0,0 +1,28 @@
+# Maintainer: Mihails Strasuns <public at dicebot.lv>
+# Contributor: Moritz Maxeiner <moritz at ucworks.org>
+pkgname=dub
+pkgver=0.9.18
+pkgrel=1
+pkgdesc="Developer package manager for D programming language"
+arch=('i686' 'x86_64')
+url="https://github.com/rejectedsoftware/dub"
+license=('MIT')
+makedepends=('dmd' 'libphobos-devel' 'git')
+depends=('d-compiler' 'd-runtime' 'curl')
+source=("git+http://github.com/rejectedsoftware/dub.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+build()
+{
+ cd "${srcdir}/${pkgname}"
+ GITVER=$(git describe) || GITVER=unknown
+ echo "module dub.version_; enum dubVersion = \"$GITVER\";" > source/dub/version_.d
+ dmd -ofbin/dub -g -debug -w -Isource -L-lcurl @build-files.txt
+}
+
+package()
+{
+ cd "${srcdir}/${pkgname}"
+ install -D -m755 bin/dub "${pkgdir}/usr/bin/dub"
+ install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}
More information about the arch-commits
mailing list