blob: bab4975868e1efaaf03c57ff16815594cac7e44f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#Maintainer: fenugrec < @users.sourceforge.net>
#notes:
# - imagemagick required for extracting icon. Could use icoutils instead
# - arch : not tested on anything else, not sure if even possible.
_APP=EDSEditor
_pkgname=libedssharp
pkgname=libedssharp
pkgver=0.8
pkgrel=1
pkgdesc="A CanOpen EDS editor and library in C# with CanOpenNode export for Object Dictionary"
arch=('x86_64')
url="https://github.com/robincornelius/libedssharp"
license=('GPL')
depends=(mono)
makedepends=(mono-msbuild imagemagick)
#options=('!strip')
source=("${_pkgname}-${pkgver}.zip::https://github.com/robincornelius/libedssharp/archive/${pkgver}.zip"
"${_APP}.desktop")
md5sums=('f8f2018f6135dce78e7c199180fabaee'
'3c72fa86610e8c060cc705d3d9596005')
build() {
cd "${_pkgname}-${pkgver}"
#their travis-CI thing does this
# msbuild /p:Configuration=Release EDSEditor.sln
#but their makefile has
# msbuild EDSEditorGUI
make
convert "Index_8287_16x.ico" "${_APP}.png"
}
package() {
install -Dm644 "${_APP}.desktop" -t "$pkgdir"/usr/share/applications
mkdir -p "$pkgdir"/usr/lib/libedssharp/
cd "${_pkgname}-${pkgver}"
cp -Tr EDSTest/bin/Debug "$pkgdir"/usr/lib/libedssharp/
install -Dm644 "${_APP}.png" -t "$pkgdir"/usr/share/pixmaps
}
|