summaryrefslogtreecommitdiff
path: root/user/xvinfo/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 09:28:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 09:28:49 +0000
commit45de31beffc71b3b6163e874fbc5a8c3a6a377f1 (patch)
tree101187e43664d9d05d7a42e54d5a8a468d4c6183 /user/xvinfo/APKBUILD
parenta90a647d88a9f60750d8183e0644173c21c40464 (diff)
downloadpackages-45de31beffc71b3b6163e874fbc5a8c3a6a377f1.tar.gz
packages-45de31beffc71b3b6163e874fbc5a8c3a6a377f1.tar.bz2
packages-45de31beffc71b3b6163e874fbc5a8c3a6a377f1.tar.xz
packages-45de31beffc71b3b6163e874fbc5a8c3a6a377f1.zip
user/xvinfo: new package
Diffstat (limited to 'user/xvinfo/APKBUILD')
-rw-r--r--user/xvinfo/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xvinfo/APKBUILD b/user/xvinfo/APKBUILD
new file mode 100644
index 000000000..82d0e29ad
--- /dev/null
+++ b/user/xvinfo/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xvinfo
+pkgver=1.1.3
+pkgrel=0
+pkgdesc="View information about video adaptors attached to X11"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libxv-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xvinfo-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="df8356898390d2aec4fbd15cee1627bb86b57ff8af41a527d4f6f6703a81f399a3098da342b94af6d4cf4a817d9fda1946a206bfbe3995e87ceb9910bb8b51bc xvinfo-1.1.3.tar.bz2"