[arch-commits] Commit in flickrnet/repos (3 files)
Felix Yan
fyan at nymeria.archlinux.org
Thu Apr 10 08:25:24 UTC 2014
Date: Thursday, April 10, 2014 @ 10:25:24
Author: fyan
Revision: 210127
archrelease: copy trunk to testing-any
Added:
flickrnet/repos/testing-any/
flickrnet/repos/testing-any/PKGBUILD
(from rev 210126, flickrnet/trunk/PKGBUILD)
flickrnet/repos/testing-any/flickrnet.pc
(from rev 210126, flickrnet/trunk/flickrnet.pc)
--------------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
flickrnet.pc | 7 +++++++
2 files changed, 43 insertions(+)
Copied: flickrnet/repos/testing-any/PKGBUILD (from rev 210126, flickrnet/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2014-04-10 08:25:24 UTC (rev 210127)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+pkgname=flickrnet
+pkgver=3.10.0
+_pkgver=105368
+pkgrel=1
+pkgdesc="Flickr.Net API Library"
+arch=('any')
+url="http://www.codeplex.com/FlickrNet"
+license=('LGPL')
+depends=('mono')
+makedepends=('unzip')
+source=($pkgname-$pkgver.zip::"http://download.codeplex.com/Project/Download/SourceControlFileDownload.ashx?ProjectName=FlickrNet&changeSetId=$_pkgver"
+ "$pkgname.pc")
+md5sums=('358e164c86d3d6749a05b429e447f069'
+ '131dd6e01f99c0533e9367b5cfda3a13')
+
+prepare() {
+ cd "$srcdir/FlickrNet"
+
+ sed -i "s/@VERSION@/$pkgver/" "$srcdir/$pkgname.pc"
+}
+
+build() {
+ cd "$srcdir/FlickrNet"
+
+ xbuild /property:Configuration=Release FlickrNet.csproj
+}
+
+package() {
+ cd "$srcdir/FlickrNet"
+
+ gacutil -i bin/Release/FlickrNet.dll -package $pkgname-$pkgver -root "$pkgdir/usr/lib/"
+ install -Dm644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc"
+}
Copied: flickrnet/repos/testing-any/flickrnet.pc (from rev 210126, flickrnet/trunk/flickrnet.pc)
===================================================================
--- testing-any/flickrnet.pc (rev 0)
+++ testing-any/flickrnet.pc 2014-04-10 08:25:24 UTC (rev 210127)
@@ -0,0 +1,7 @@
+prefix=/usr
+libdir=${prefix}/lib
+
+Name: flickrnet
+Description: Flickr.Net API Library
+Version: @VERSION@
+Libs: -r:${libdir}/mono/flickrnet- at VERSION@/FlickrNet.dll
More information about the arch-commits
mailing list