Compare commits
No commits in common. "13b4ae0b755f229bf2425f6354f612f0ffe59bd4" and "4d4e46a7a9b120aa5a7013dcd849bf0c7c798d28" have entirely different histories.
13b4ae0b75
...
4d4e46a7a9
2 changed files with 30 additions and 74 deletions
25
.SRCINFO
25
.SRCINFO
|
@ -1,18 +1,13 @@
|
||||||
pkgbase = open62541
|
pkgbase = pkgbase
|
||||||
pkgdesc = An open source and free implementation of OPC Unified Architecture written in the common subset of the C99 and C++98 languages.
|
pkgdesc = Refreshed new Adwaita theme with creamy colors and minor changes.
|
||||||
pkgver = v1.4.12_r23_g7adf88dc3
|
pkgver = 0.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://open62541.org/
|
url = https://github.com/murat-cileli/adwaita-creamy
|
||||||
arch = any
|
arch = x86_64
|
||||||
license = MPL-2.0
|
license = MIT
|
||||||
makedepends = cmake
|
provides = adwaita-creamy
|
||||||
makedepends = git
|
source = git+https://github.com/murat-cileli/adwaita-creamy.git
|
||||||
makedepends = python
|
|
||||||
optdepends = openssl: OpenSSL encryption backend (set UA_ENABLE_ENCRYPTION=OPENSSL on environment variable OPEN62541_CMAKE_FLAGS)
|
|
||||||
optdepends = mbedtls: mbed TLS encryption backend (set UA_ENABLE_ENCRYPTION=MBEDTLS on environment variable OPEN62541_CMAKE_FLAGS)
|
|
||||||
optdepends = graphviz: For document generation
|
|
||||||
source = git+https://github.com/open62541/open62541.git#branch=1.4
|
|
||||||
md5sums = SKIP
|
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = open62541
|
pkgname = adwaita-creamy
|
||||||
|
|
||||||
|
|
79
PKGBUILD
79
PKGBUILD
|
@ -1,67 +1,28 @@
|
||||||
# Maintainer: qwjyh <urataw421@gmail.com>
|
# Maintainer: Murat Çileli <murat.cileli@gmail.com>
|
||||||
# Contributor: open62541 Team <open62541-core@googlegroups.com>
|
|
||||||
# Contributor: Samega7Cattac <sameg7acattac@gmail.com>
|
|
||||||
branch=1.4
|
|
||||||
pkgname=open62541
|
|
||||||
pkgver=v1.4.12_r23_g7adf88dc3
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="An open source and free implementation of OPC Unified Architecture written in the common subset of the C99 and C++98 languages."
|
|
||||||
arch=('any')
|
|
||||||
url="http://open62541.org/"
|
|
||||||
license=('MPL-2.0')
|
|
||||||
makedepends=('cmake'
|
|
||||||
'git'
|
|
||||||
'python')
|
|
||||||
optdepends=('openssl: OpenSSL encryption backend (set UA_ENABLE_ENCRYPTION=OPENSSL on environment variable OPEN62541_CMAKE_FLAGS)'
|
|
||||||
'mbedtls: mbed TLS encryption backend (set UA_ENABLE_ENCRYPTION=MBEDTLS on environment variable OPEN62541_CMAKE_FLAGS)'
|
|
||||||
'graphviz: For document generation')
|
|
||||||
source=("git+https://github.com/open62541/open62541.git#branch=$branch")
|
|
||||||
md5sums=('SKIP')
|
|
||||||
sha256sums=('SKIP')
|
|
||||||
|
|
||||||
prepare() {
|
pkgbase="pkgbase"
|
||||||
# Install the libraries to lib instead of lib64
|
pkgname="adwaita-creamy"
|
||||||
# Install to /usr/ instead of /usr/local/
|
pkgver="0.1"
|
||||||
OPEN62541_CMAKE_FLAGS_DEFAULT=\
|
pkgrel="1"
|
||||||
"-DBUILD_SHARED_LIBS=ON"\
|
pkgdesc="Refreshed new Adwaita theme with creamy colors and minor changes. "
|
||||||
" -DUA_NAMESPACE_ZERO=FULL"\
|
arch=("x86_64")
|
||||||
" -DUA_ENABLE_AMALGAMATION=OFF"\
|
license=("MIT")
|
||||||
" -DCMAKE_BUILD_TYPE=RelWithDebInfo"\
|
url="https://github.com/murat-cileli/adwaita-creamy"
|
||||||
" -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/"\
|
makedepends=()
|
||||||
" -DCMAKE_INSTALL_LIBDIR=$pkgdir/usr/lib/"
|
provides=("adwaita-creamy")
|
||||||
|
|
||||||
# OPEN62541_CMAKE_FLAGS is an environment variable which can be
|
source=("git+https://github.com/murat-cileli/adwaita-creamy.git")
|
||||||
# set in order to specify custom compilation flags for open62541.
|
sha256sums=("SKIP")
|
||||||
# This allows integrating further features. Please review the wiki
|
|
||||||
# for more information.
|
|
||||||
|
|
||||||
OPEN62541_CMAKE_FLAGS="$OPEN62541_CMAKE_FLAGS_DEFAULT $OPEN62541_CMAKE_FLAGS"
|
|
||||||
|
|
||||||
cd "$srcdir/$pkgname"
|
|
||||||
git submodule init
|
|
||||||
git config submodule.UA-Nodeset.url "$srcdir/UA-Nodeset"
|
|
||||||
git config submodule.mdnsd "$srcdir/mdnsd"
|
|
||||||
git submodule update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$srcdir/$pkgname"
|
|
||||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/_/g'
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname"
|
cd "${pkgname}"
|
||||||
|
mkdir -p ~/.themes/adwaita-creamy
|
||||||
mkdir -p build
|
cp gtk-2.0 ~/.themes/adwaita-creamy/ -R
|
||||||
cd build
|
cp gtk-3.0 ~/.themes/adwaita-creamy/ -R
|
||||||
|
cp index.theme ~/.themes/adwaita-creamy/
|
||||||
cmake $OPEN62541_CMAKE_FLAGS ..
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname/build"
|
echo "Package"
|
||||||
|
|
||||||
make install
|
|
||||||
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue