[arch-commits] Commit in flickrnet/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Tue Nov 29 03:02:20 EST 2011


    Date: Tuesday, November 29, 2011 @ 03:02:20
  Author: ibiru
Revision: 143777

update to 3.2.4310

Modified:
  flickrnet/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-29 07:26:41 UTC (rev 143776)
+++ PKGBUILD	2011-11-29 08:02:20 UTC (rev 143777)
@@ -3,9 +3,9 @@
 # Contributor: György Balló <ballogy at freestart.hu>
 pkgname=flickrnet
 _pkgname=FlickrNet
-pkgver=2.2
-_pkgver=48055
-pkgrel=2
+pkgver=3.2.4310
+_pkgver=93705
+pkgrel=1
 pkgdesc="Flickr.Net API Library"
 arch=('any')
 url="http://www.codeplex.com/FlickrNet"
@@ -14,20 +14,19 @@
 makedepends=('unzip')
 source=($pkgname-$pkgver.zip::"http://download.codeplex.com/Project/Download/SourceControlFileDownload.ashx?ProjectName=${_pkgname}&changeSetId=$_pkgver"
         "$pkgname.pc")
-md5sums=('9ad3fde83ca2a74a4cade2f1b11a77e1'
+md5sums=('428e25f0f9921f72e5ecb60331fde248'
          '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 -t:library -out:$_pkgname.dll -r:System,System.Data,System.Xml,System.Web,System.Drawing *.cs
+  xbuild  /property:Configuration=Release FlickrNet.csproj
 }
 
 package() {
   cd $srcdir/$_pkgname
 
-  gacutil -i $_pkgname.dll -package $pkgname-$pkgver -root $pkgdir/usr/lib/
-  install -Dm644 $srcdir/$pkgname.pc $pkgdir/usr/lib/pkgconfig/$pkgname.pc
+  gacutil -i bin/Release/$_pkgname.dll -package $pkgname-$pkgver -root "$pkgdir/usr/lib/"
+  install -Dm644 "$srcdir/$pkgname.pc" "$pkgdir/usr/lib/pkgconfig/$pkgname.pc"
 }



More information about the arch-commits mailing list