# Contributor: Francesco Colista # Maintainer: Francesco Colista global pkgname := 'aqemu' global pkgver := '0.9.2' global pkgrel := '2' global pkgdesc := '"GUI for virtual machines using QEMU as the backend'" global url := '"https://sourceforge.net/projects/aqemu/'" global arch := '"all'" global license := '"GPL2'" global depends := '"qemu'" global makedepends := '"cmake libvncserver-dev bzip2 qt5-qtbase-dev glib-dev'" global install := ''"" global subpackages := ""$pkgname-doc"" global source := ""$pkgname-$pkgver.tar.gz::https://github.com/tobimensch/$pkgname/archive/v$pkgver.tar.gz aqemu-0.9.2-qtbindir.patch alpine.png"" global builddir := ""$srcdir/$pkgname-$pkgver"" proc build { cd $builddir install -m644 "$srcdir"/alpine.png resources/os_icons cmake \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DMAN_PAGE_COMPRESSOR=gzip make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install } global md5sums := '"cd7f6077a5a49a25450dc007532b0f95 aqemu-0.9.2.tar.gz 7ca1daaed628ece86ca565630ea340ef aqemu-0.9.2-qtbindir.patch c5753d791066c58a77f09a13b375830d alpine.png'" global sha256sums := '"e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de aqemu-0.9.2.tar.gz b1ed61da27c97ebf689b17463d876c39fd84e2e99ed3f4921295f3f627b9a59a aqemu-0.9.2-qtbindir.patch 1629ad24ac112e46ac3d576d8dbc21c038e38d68db5a50ad93a8a3c8969aaf87 alpine.png'" global sha512sums := '"9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba aqemu-0.9.2.tar.gz f85e6c2487dfef86470773949f6796af9efdf066d9871ac4cdfddd064c85fbf893574e602ab2c6cd1198dc9eb76f0722b5a85ec046b2dca2275a24799418c996 aqemu-0.9.2-qtbindir.patch 9de8676b8e9fd2901ba5294c473f62cd5aa7b8ad967622f9993e461b5cdd95d5956009dcf722204b430e9fa37c67e64279aa4dcfd83a69504fec1d3d39e50ea9 alpine.png'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(aqemu)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(0.9.2)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(2)} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: {(DQ ("GUI for virtual machines using QEMU as the backend"))} spids: [15] ) ] spids: [15] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("https://sourceforge.net/projects/aqemu/"))} spids: [20] ) ] spids: [20] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} spids:[25])] spids: [25] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (GPL2))} spids:[30])] spids: [30] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(DQ (qemu))} spids:[35])] spids: [35] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: {(DQ ("cmake libvncserver-dev bzip2 qt5-qtbase-dev glib-dev"))} spids: [40] ) ] spids: [40] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:install) op:Equal rhs:{(DQ )} spids:[45])] spids: [45] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: {(DQ ($ VSub_Name "$pkgname") (-doc))} spids: [49] ) ] spids: [49] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver") (".tar.gz::https://github.com/tobimensch/") ($ VSub_Name "$pkgname") (/archive/v) ($ VSub_Name "$pkgver") (".tar.gz\n") ("aqemu-0.9.2-qtbindir.patch\n") (alpine.png) ) } spids: [55] ) ] spids: [55] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ ($ VSub_Name "$srcdir") (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver"))} spids: [69] ) ] spids: [69] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(install)} {(-m644)} {(DQ ($ VSub_Name "$srcdir")) (/alpine.png)} {(resources/os_icons)}) (C {(cmake)} {(-DCMAKE_INSTALL_PREFIX) (Lit_Other "=") (DQ (/usr))} {(-DMAN_PAGE_COMPRESSOR) (Lit_Other "=") (gzip)} ) (AndOr children: [(C {(make)}) (ControlFlow token: arg_word:{(1)})] op_id: Op_DPipe ) ] spids: [83] ) spids: [79 82] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$builddir"))}) (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)}) ] spids: [137] ) spids: [133 136] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:md5sums) op: Equal rhs: { (DQ ("cd7f6077a5a49a25450dc007532b0f95 aqemu-0.9.2.tar.gz\n") ("7ca1daaed628ece86ca565630ea340ef aqemu-0.9.2-qtbindir.patch\n") ("c5753d791066c58a77f09a13b375830d alpine.png") ) } spids: [159] ) ] spids: [159] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha256sums) op: Equal rhs: { (DQ ( "e3d54de00ebdce3754f97f7e0e7cce8cebb588e8ce6bc249401cc909281b08de aqemu-0.9.2.tar.gz\n" ) ("b1ed61da27c97ebf689b17463d876c39fd84e2e99ed3f4921295f3f627b9a59a aqemu-0.9.2-qtbindir.patch\n") ("1629ad24ac112e46ac3d576d8dbc21c038e38d68db5a50ad93a8a3c8969aaf87 alpine.png") ) } spids: [166] ) ] spids: [166] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "9d4808172ee1be82509956560e4d3f9ee349fedd920342146083cc9bc79ef51fc95937c64f20ffb13e2849c577f95f59b5b65271d6e29e2d2e1ec2d1562006ba aqemu-0.9.2.tar.gz\n" ) ( "f85e6c2487dfef86470773949f6796af9efdf066d9871ac4cdfddd064c85fbf893574e602ab2c6cd1198dc9eb76f0722b5a85ec046b2dca2275a24799418c996 aqemu-0.9.2-qtbindir.patch\n" ) ( "9de8676b8e9fd2901ba5294c473f62cd5aa7b8ad967622f9993e461b5cdd95d5956009dcf722204b430e9fa37c67e64279aa4dcfd83a69504fec1d3d39e50ea9 alpine.png" ) ) } spids: [173] ) ] spids: [173] ) ] )