[arch-commits] Commit in (5 files)

Ionut Biru ibiru at archlinux.org
Sat Jan 1 19:44:23 UTC 2011


    Date: Saturday, January 1, 2011 @ 14:44:23
  Author: ibiru
Revision: 104364

initiai commit

Added:
  flickrnet/
  flickrnet/repos/
  flickrnet/trunk/
  flickrnet/trunk/PKGBUILD
  flickrnet/trunk/flickrnet.pc

--------------+
 PKGBUILD     |   32 ++++++++++++++++++++++++++++++++
 flickrnet.pc |    7 +++++++
 2 files changed, 39 insertions(+)

Added: flickrnet/trunk/PKGBUILD
===================================================================
--- flickrnet/trunk/PKGBUILD	                        (rev 0)
+++ flickrnet/trunk/PKGBUILD	2011-01-01 19:44:23 UTC (rev 104364)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+pkgname=flickrnet
+_pkgname=FlickrNet
+pkgver=2.2
+_pkgver=48055
+pkgrel=1
+pkgdesc="Flickr.Net API Library"
+arch=('any')
+url="http://www.codeplex.com/FlickrNet"
+license=('LGPL')
+depends=('mono')
+source=($pkgname-$pkgver.zip::"http://download.codeplex.com/Project/Download/SourceControlFileDownload.ashx?ProjectName=${_pkgname}&changeSetId=$_pkgver&ext=.zip"
+        "$pkgname.pc")
+md5sums=('9ad3fde83ca2a74a4cade2f1b11a77e1'
+         '131dd6e01f99c0533e9367b5cfda3a13')
+
+build() {
+  cd $srcdir/$_pkgname
+  sed -i 's/AssemblyKeyFile("..\\\\..\\\\FlickrNet.snk")/AssemblyKeyFile("FlickrNet.snk")/' ./AssemblyInfo.cs
+  sed -i "s/@VERSION@/$pkgver/" $srcdir/$pkgname.pc
+
+  gmcs -target:library -out:FlickrNet.dll -r:System.Web.dll -r:System.Drawing.dll *.cs
+}
+
+package() {
+  cd $srcdir/$_pkgname
+
+  install -Dm644 $_pkgname.dll $pkgdir/usr/lib/mono/$pkgname-$pkgver/$_pkgname.dll
+  install -Dm644 $srcdir/$pkgname.pc $pkgdir/usr/lib/pkgconfig/$pkgname.pc
+}


Property changes on: flickrnet/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: flickrnet/trunk/flickrnet.pc
===================================================================
--- flickrnet/trunk/flickrnet.pc	                        (rev 0)
+++ flickrnet/trunk/flickrnet.pc	2011-01-01 19:44:23 UTC (rev 104364)
@@ -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