Commit 949b6cf
0
plików
+0
dodanych
-0
usuniętych
@@ -1,23 +1,27 @@
1
1
pkgname: libndi-bin
2
2
pkgver: '6.2.1'
3
3
pkgrel: 1
4
-pkgdesc: Custom build of ndi-sdk from obs-ndi
5
-url: 'https://github.com/Palakis/${_name}'
4
+pkgdesc: 'SDK NewTek NDI dla wtyczki DistroAV (dawniej obs-ndi)'
5
+url: 'https://github.com/DistroAV/DistroAV'
6
6
arch: x86_64
7
+license:
8
+- custom
7
9
depends: []
8
-makedepends: []
10
+makedepends:
11
+- bsdtar
9
12
source:
10
-- 'https://github.com/Palakis/obs-ndi/releases/download/4.9.0/libndi4_${pkgver}-1_amd64.deb'
13
+- "https://github.com/DistroAV/DistroAV/releases/download/4.9.0/libndi4_${pkgver}-1_amd64.deb"
11
14
sha256sums:
12
15
- SKIP
13
-footprint: "drwxr-xr-x\troot/root\tusr/\ndrwxr-xr-x\troot/root\tusr/bin/\n-rwxr-xr-x\troot/root\tusr/bin/ndi-directory-service\n\
14
- -rwxr-xr-x\troot/root\tusr/bin/ndi-record\ndrwxr-xr-x\troot/root\tusr/lib/\n-rwxr-xr-x\troot/root\tusr/lib/libndi.so\n-rwxr-xr-x\t\
15
- root/root\tusr/lib/libndi.so.4.5.1\n"
16
+
16
17
build: |
17
- bsdtar -xf *.deb
18
- cd "."
19
- tar -xJf data.tar.xz -C "${PKGDIR}"
20
- rm "${PKGDIR}"/usr/lib/libndi.so.4
21
- chmod 755 $(find "${PKGDIR}" -type d)
18
+ # Wyciągnięcie archiwum data.tar.xz z pakietu .deb
19
+ bsdtar -xf "libndi4_${pkgver}-1_amd64.deb"
20
+
22
21
package: |
23
- true
22
+ # Instalacja zawartości pakietu w strukturze PKGDIR
23
+ tar -xJf data.tar.xz -C "${PKGDIR}"
24
+
25
+ # Czyszczenie dowiązań i ustawienie uprawnień dla katalogów
26
+ rm -f "${PKGDIR}/usr/lib/libndi.so.4"
27
+ find "${PKGDIR}" -type d -exec chmod 755 {} +