summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoracxz2019-08-13 20:23:12 -0400
committeracxz2019-08-13 20:23:12 -0400
commitec41e01614bd83bc4f200bf347d44b44cdf77781 (patch)
tree9b54920fe04e6cf4912fd9d1501370bb16a1b8aa
downloadaur-ec41e01614bd83bc4f200bf347d44b44cdf77781.tar.gz
Created yolo-mark git package
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD56
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8ff5dd5322f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = yolo-mark-git
+ pkgdesc = GUI for marking bounded boxes of objects in images for training YOLO neural networks.
+ pkgver = r64.ea049f3
+ pkgrel = 1
+ url = https://github.com/AlexeyAB/yolo_mark
+ arch = i686
+ arch = x86_64
+ license = None
+ makedepends = cmake
+ makedepends = git
+ makedepends = vtk
+ depends = opencv
+ provides = yolo-mark
+ source = git+https://github.com/AlexeyAB/yolo_mark.git
+ md5sums = SKIP
+
+pkgname = yolo-mark-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e4ae74d1737
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: acxz <akashpatel2008 at yahoo dot com>
+
+pkgname=yolo-mark-git
+pkgver=r64.ea049f3
+pkgrel=1
+pkgdesc='GUI for marking bounded boxes of objects in images for training YOLO
+neural networks.'
+arch=('i686' 'x86_64')
+url='https://github.com/AlexeyAB/yolo_mark'
+license=('None')
+depends=('opencv')
+optdepends=()
+makedepends=('cmake' 'git' 'vtk')
+_name=yolo_mark
+provides=('yolo-mark')
+conflicts=('')
+source=("git+https://github.com/AlexeyAB/yolo_mark.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_name"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ # Creating build directory
+ cd "${srcdir}/${_name}/"
+ mkdir -p "build"
+ cd "build"
+
+ msg "Starting CMake"
+
+ cmake .. \
+ -DCMAKE_PREFIX_PATH='/usr' \
+ -DCMAKE_INSTALL_PREFIX='/usr'
+
+ msg "Building the project"
+ make
+}
+
+package() {
+ msg "Installing files"
+
+ #cd "${srcdir}/${_name}/build/"
+ #make install
+
+ # Create usr directory
+ mkdir $pkgdir/usr
+
+ # bin
+ mkdir $pkgdir/usr/bin
+ cp $srcdir/${_name}/build/yolo_mark $pkgdir/usr/bin
+
+ chown -R root:root $pkgdir/usr
+ chmod -R 755 $pkgdir/usr
+}