# Maintainer: Natanael Copa global pkgname := 'v86d' global pkgver := '0.1.10' global pkgrel := '1' global pkgdesc := '"Userspace helper for uvesafb that runs x86 code in an emulated environment'" global url := '"https://github.com/mjanusz/v86d'" global arch := '"x86 x86_64'" global license := '"GPL2'" global depends := ''"" global makedepends := '"bash linux-headers'" global source := ""v86d-$pkgver.tar.gz::https://github.com/mjanusz/v86d/archive/v86d-$pkgver.tar.gz modprobe.uvesafb"" global _builddir := ""$srcdir"/v86d-86d-$pkgver" proc build { cd $_builddir ./configure \ --with-x86emu \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install || return 1 install -D -m644 "$srcdir"/modprobe.uvesafb "$pkgdir"/etc/modprobe.d/uvesafb || return 1 } global md5sums := '"f9e583d399b1f0513dc06adcc7b479da v86d-0.1.10.tar.gz 2d7cc8dc6a41916a13869212d0191147 modprobe.uvesafb'" global sha256sums := '"af7aa28216c0242388575adcfc030af9a15851a52d65697267852496d1bd96ba v86d-0.1.10.tar.gz 5d5949ec23a546d1468327e5496e8cc2b0b2015b84ff8bedb6d0b462df59bd19 modprobe.uvesafb'" global sha512sums := '"148b1676d932d1207da396defeae0fc39b664139eca5f29be98ceedc33e89566f7c35057df93249303c8e2c1bff0427430a077f88a85997e62ea96c29b5db9d1 v86d-0.1.10.tar.gz 62531b3730d94c066890448318407d6de1ec17789e677e99a3e837bf6f66d6d19d0c89fc0ef3eb452726eb60938d590895a786b285a70ec98e85bffa270879ed modprobe.uvesafb'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(v86d)} spids:[3])] spids: [3] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(0.1.10)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(1)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("Userspace helper for uvesafb that runs x86 code in an emulated environment"))} spids: [12] ) ] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("https://github.com/mjanusz/v86d"))} spids: [17] ) ] spids: [17] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ ("x86 x86_64"))} spids:[22])] spids: [22] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (GPL2))} spids:[27])] spids: [27] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(DQ )} spids:[32])] spids: [32] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: {(DQ ("bash linux-headers"))} spids: [36] ) ] spids: [36] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ (v86d-) ($ VSub_Name "$pkgver") (".tar.gz::https://github.com/mjanusz/v86d/archive/v86d-") ($ VSub_Name "$pkgver") (".tar.gz\n") ("\t\tmodprobe.uvesafb") ) } spids: [41] ) ] spids: [41] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir")) (/v86d-86d-) ($ VSub_Name "$pkgver")} spids: [52] ) ] spids: [52] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$_builddir"))}) (AndOr children: [ (C {(./configure)} {(--with-x86emu)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [(C {(make)}) (ControlFlow token: arg_word:{(1)})] op_id: Op_DPipe ) ] spids: [64] ) spids: [59 63] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$_builddir"))}) (AndOr children: [ (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [ (C {(install)} {(-D)} {(-m644)} {(DQ ($ VSub_Name "$srcdir")) (/modprobe.uvesafb)} {(DQ ($ VSub_Name "$pkgdir")) (/etc/modprobe.d/uvesafb)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) ] spids: [104] ) spids: [100 103] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:md5sums) op: Equal rhs: { (DQ ("f9e583d399b1f0513dc06adcc7b479da v86d-0.1.10.tar.gz\n") ("2d7cc8dc6a41916a13869212d0191147 modprobe.uvesafb") ) } spids: [155] ) ] spids: [155] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha256sums) op: Equal rhs: { (DQ ( "af7aa28216c0242388575adcfc030af9a15851a52d65697267852496d1bd96ba v86d-0.1.10.tar.gz\n" ) ("5d5949ec23a546d1468327e5496e8cc2b0b2015b84ff8bedb6d0b462df59bd19 modprobe.uvesafb") ) } spids: [161] ) ] spids: [161] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "148b1676d932d1207da396defeae0fc39b664139eca5f29be98ceedc33e89566f7c35057df93249303c8e2c1bff0427430a077f88a85997e62ea96c29b5db9d1 v86d-0.1.10.tar.gz\n" ) ( "62531b3730d94c066890448318407d6de1ec17789e677e99a3e837bf6f66d6d19d0c89fc0ef3eb452726eb60938d590895a786b285a70ec98e85bffa270879ed modprobe.uvesafb" ) ) } spids: [167] ) ] spids: [167] ) ] )