# Maintainer: Natanael Copa global pkgname := 'thunar-archive-plugin' global pkgver := '0.3.1' global pkgrel := '1' global pkgdesc := '"create and deflate archives in thunar'" global url := '"http://foo-projects.org/~benny/projects/thunar-archive-plugin/'" global arch := '"all'" global license := '"GPL2'" global depends := '' global makedepends := '"gtk+-dev intltool thunar-dev exo-dev'" global install := '' global subpackages := ""$pkgname-lang"" global source := ""http://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/$(pkgver%.*)/thunar-archive-plugin-$pkgver.tar.bz2"" proc build { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/xfce4 \ --localstatedir=/var \ --disable-static \ || return 1 make || return 1 } proc package { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 # dont want file-roller rm -f "$pkgdir"/usr/lib/xfce4/thunar-archive-plugin/file-roller.tap } global md5sums := '"425f4faaace6dc7a4716a35b7795463a thunar-archive-plugin-0.3.1.tar.bz2'" global sha256sums := '"9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c thunar-archive-plugin-0.3.1.tar.bz2'" global sha512sums := '"51157c2680b3fcc6b541d35fc2943a350a0354d7d5bbb5fbe8a9dcbbeaf4bf4f5fe62521b8e9a73254f70bbefc440357deade8181313da96270c280eb0464e68 thunar-archive-plugin-0.3.1.tar.bz2'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgname) op: Equal rhs: {(thunar-archive-plugin)} spids: [3] ) ] spids: [3] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(0.3.1)} 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 ("create and deflate archives in thunar"))} spids: [12] ) ] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("http://foo-projects.org/~benny/projects/thunar-archive-plugin/"))} spids: [17] ) ] spids: [17] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} 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:{(SQ )} spids:[32])] spids: [32] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: {(DQ ("gtk+-dev intltool thunar-dev exo-dev"))} spids: [34] ) ] spids: [34] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:install) op:Equal rhs:{(SQ )} spids:[39])] spids: [39] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: {(DQ ($ VSub_Name "$pkgname") (-lang))} spids: [41] ) ] spids: [41] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ("http://archive.xfce.org/src/thunar-plugins/thunar-archive-plugin/") (BracedVarSub token: suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(".*")}) spids: [50 54] ) (/thunar-archive-plugin-) ($ VSub_Name "$pkgver") (.tar.bz2) ) } spids: [47] ) ] spids: [47] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$srcdir")) (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver")} ) (AndOr children: [ (C {(./configure)} {(--build) (Lit_Other "=") ($ VSub_Name "$CBUILD")} {(--host) (Lit_Other "=") ($ VSub_Name "$CHOST")} {(--prefix) (Lit_Other "=") (/usr)} {(--sysconfdir) (Lit_Other "=") (/etc)} {(--libexecdir) (Lit_Other "=") (/usr/lib/xfce4)} {(--localstatedir) (Lit_Other "=") (/var)} {(--disable-static)} ) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (AndOr children: [(C {(make)}) (ControlFlow token: arg_word:{(1)})] op_id: Op_DPipe ) ] spids: [65] ) spids: [61 64] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ ($ VSub_Name "$srcdir")) (/) ($ VSub_Name "$pkgname") (-) ($ VSub_Name "$pkgver")} ) (AndOr children: [ (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ ($ VSub_Name "$pkgdir"))} {(install)}) (ControlFlow token: arg_word:{(1)}) ] op_id: Op_DPipe ) (C {(rm)} {(-f)} {(DQ ($ VSub_Name "$pkgdir")) (/usr/lib/xfce4/thunar-archive-plugin/file-roller.tap)} ) ] spids: [145] ) spids: [141 144] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:md5sums) op: Equal rhs: {(DQ ("425f4faaace6dc7a4716a35b7795463a thunar-archive-plugin-0.3.1.tar.bz2"))} spids: [191] ) ] spids: [191] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha256sums) op: Equal rhs: { (DQ ( "9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c thunar-archive-plugin-0.3.1.tar.bz2" ) ) } spids: [196] ) ] spids: [196] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "51157c2680b3fcc6b541d35fc2943a350a0354d7d5bbb5fbe8a9dcbbeaf4bf4f5fe62521b8e9a73254f70bbefc440357deade8181313da96270c280eb0464e68 thunar-archive-plugin-0.3.1.tar.bz2" ) ) } spids: [201] ) ] spids: [201] ) ] )