diff --git a/.SRCINFO b/.SRCINFO index a6c6cf4..c483407 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,18 +1,13 @@ -pkgbase = open62541 - pkgdesc = An open source and free implementation of OPC Unified Architecture written in the common subset of the C99 and C++98 languages. - pkgver = v1.4.12_r23_g7adf88dc3 +pkgbase = pkgbase + pkgdesc = Refreshed new Adwaita theme with creamy colors and minor changes. + pkgver = 0.1 pkgrel = 1 - url = http://open62541.org/ - arch = any - license = MPL-2.0 - makedepends = cmake - makedepends = 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 + url = https://github.com/murat-cileli/adwaita-creamy + arch = x86_64 + license = MIT + provides = adwaita-creamy + source = git+https://github.com/murat-cileli/adwaita-creamy.git sha256sums = SKIP -pkgname = open62541 +pkgname = adwaita-creamy + diff --git a/PKGBUILD b/PKGBUILD index 8f6fd67..a6bbc4b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,67 +1,28 @@ -# Maintainer: qwjyh -# Contributor: open62541 Team -# Contributor: Samega7Cattac -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') +# Maintainer: Murat Çileli -prepare() { - # Install the libraries to lib instead of lib64 - # Install to /usr/ instead of /usr/local/ - OPEN62541_CMAKE_FLAGS_DEFAULT=\ -"-DBUILD_SHARED_LIBS=ON"\ -" -DUA_NAMESPACE_ZERO=FULL"\ -" -DUA_ENABLE_AMALGAMATION=OFF"\ -" -DCMAKE_BUILD_TYPE=RelWithDebInfo"\ -" -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/"\ -" -DCMAKE_INSTALL_LIBDIR=$pkgdir/usr/lib/" +pkgbase="pkgbase" +pkgname="adwaita-creamy" +pkgver="0.1" +pkgrel="1" +pkgdesc="Refreshed new Adwaita theme with creamy colors and minor changes. " +arch=("x86_64") +license=("MIT") +url="https://github.com/murat-cileli/adwaita-creamy" +makedepends=() +provides=("adwaita-creamy") - # OPEN62541_CMAKE_FLAGS is an environment variable which can be - # set in order to specify custom compilation flags for open62541. - # 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' -} +source=("git+https://github.com/murat-cileli/adwaita-creamy.git") +sha256sums=("SKIP") build() { - cd "$srcdir/$pkgname" - - mkdir -p build - cd build - - cmake $OPEN62541_CMAKE_FLAGS .. - make + cd "${pkgname}" + mkdir -p ~/.themes/adwaita-creamy + cp gtk-2.0 ~/.themes/adwaita-creamy/ -R + cp gtk-3.0 ~/.themes/adwaita-creamy/ -R + cp index.theme ~/.themes/adwaita-creamy/ } package() { - cd "$srcdir/$pkgname/build" - - make install - install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + echo "Package" } +